diff options
| author | Dominik Maier <domenukk@gmail.com> | 2020-08-04 21:33:29 +0200 |
|---|---|---|
| committer | Dominik Maier <domenukk@gmail.com> | 2020-08-04 21:33:29 +0200 |
| commit | 194188fe56f06dfc49aef9066e96bf90bc4fbe71 (patch) | |
| tree | 40c93782d003967ed9a9eaad50c5c57dc9073aea /test/test-post.sh | |
| parent | cc74efa35e190d15533f99a5a99b698e772fbe81 (diff) | |
| download | afl++-194188fe56f06dfc49aef9066e96bf90bc4fbe71.tar.gz | |
split up testcases
Diffstat (limited to 'test/test-post.sh')
| -rwxr-xr-x | test/test-post.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test-post.sh b/test/test-post.sh new file mode 100755 index 00000000..c1e22498 --- /dev/null +++ b/test/test-post.sh @@ -0,0 +1,14 @@ +#!/bin/sh +AFL_TEST_DEPTH=$((AFL_TEST_DEPTH-1)) + +if [ $AFL_TEST_DEPTH = 0 ]; then +# All runs done :) + +$ECHO "$GREY[*] all test cases completed.$RESET" +test "$INCOMPLETE" = "0" && $ECHO "$GREEN[+] all test cases executed" +test "$INCOMPLETE" = "1" && $ECHO "$YELLOW[-] not all test cases were executed" +test "$CODE" = "0" && $ECHO "$GREEN[+] all tests were successful :-)$RESET" +test "$CODE" = "0" || $ECHO "$RED[!] failure in tests :-($RESET" +exit $CODE + +fi |
