Lines Matching +full:- +full:qe

3 # All tests should start with sourcing test-pre.sh and finish with sourcing test-post.sh
14 # Ensure we have: test, type, diff, grep -qE
16 test -z "" 2>/dev/null || { echo Error: test command not found ; exit 1 ; }
19 echo foobar | grep -qE 'asd|oob' 2>/dev/null || { echo Error: grep command does not support -q and/…
20 test -e ./test-all.sh || cd $(dirname $0) || exit 1
21 test -e ./test-all.sh || { echo Error: you must be in the test/ directory ; exit 1 ; }
29 rm -f test.1 test.2
30 test -z "$OK" && { echo Error: diff is not working ; exit 1 ; }
31 test -z "$LLVM_CONFIG" && LLVM_CONFIG=llvm-config
33 # check for '-a' option of grep
34 if grep -a test test-all.sh >/dev/null 2>&1; then
35 GREPAOPTION=' -a'
41 RUN="../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- $1"
55 $ECHO \\101 2>&1 | grep -qE '^A' || {
57 test -e /bin/printf && {
59 $ECHO "\\101" 2>&1 | grep -qE '^A' || ECHO=
62 test -z "$ECHO" && { printf Error: printf command does not support octal character codes ; exit 1 ;…
99 rm -rf in in2 out
101 test -z "$TRAVIS_OS_NAME" && {
104 test -n "$TRAVIS_OS_NAME" && {
111 test -e /usr/local/bin/opt && {
112 test `uname -s` = 'Darwin' || export PATH="/usr/local/bin:${PATH}"
114 # on MacOS X we prefer afl-clang over afl-gcc, because
115 # afl-gcc does not work there (it is a symlink from clang)
116 test `uname -s` = 'Darwin' -o `uname -s` = 'FreeBSD' && {
117 AFL_GCC=afl-clang
119 AFL_GCC=afl-gcc
121 command -v gcc >/dev/null 2>&1 || AFL_GCC=afl-clang
123 SYS=`uname -m`
138 test -z "$SYS" && $ECHO "$YELLOW[-] uname -m did not succeed"