posix compatible sourcing

This commit is contained in:
Dominik Maier
2020-08-04 21:57:56 +02:00
parent 8850e1a5bf
commit 79f873a597
10 changed files with 29 additions and 29 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
source ./test-pre.sh
. ./test-pre.sh
$ECHO "$BLUE[*] Testing: ${AFL_GCC}, afl-showmap, afl-fuzz, afl-cmin and afl-tmin"
test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc" -o "$SYS" = "i386" && {
@ -122,4 +122,4 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
$ECHO "$YELLOW[-] not an intel platform, cannot test afl-gcc"
}
source ./test-post.sh
. ./test-post.sh