about summary refs log tree commit diff
path: root/test/test-llvm.sh
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-08-07 20:22:13 +0200
committerhexcoder- <heiko@hexco.de>2020-08-07 20:22:13 +0200
commit33141cf8a3b0e86d01ab5112c2172d0f7004e9c1 (patch)
tree28cef5557088355f2edab1e39373d1b2d9e005d1 /test/test-llvm.sh
parent8551d8e48e18a5a50955945b5f73aff3cb492de5 (diff)
downloadafl++-33141cf8a3b0e86d01ab5112c2172d0f7004e9c1.tar.gz
tests: cleanup core files, more time for llvm cmplog
Diffstat (limited to 'test/test-llvm.sh')
-rwxr-xr-xtest/test-llvm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-llvm.sh b/test/test-llvm.sh
index 85cc16f6..feeb3992 100755
--- a/test/test-llvm.sh
+++ b/test/test-llvm.sh
@@ -172,7 +172,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
     $ECHO "$RED[!] llvm_mode laf-intel floatingpoint splitting feature compilation failed"
     CODE=1
   }
-  rm -f test-floatingpoint test.out in/in errors
+  rm -f test-floatingpoint test.out in/in errors core.*
   echo foobar.c > instrumentlist.txt
   AFL_DEBUG=1 AFL_LLVM_INSTRUMENT_FILE=instrumentlist.txt ../afl-clang-fast -o test-compcov test-compcov.c > test.out 2>&1
   test -e test-compcov && test_compcov_binary_functionality ./test-compcov && {
@@ -208,7 +208,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
     $ECHO "$YELLOW[-] we cannot test llvm_mode cmplog because it is not present"
     INCOMPLETE=1
   }
-  rm -rf errors test-cmplog in
+  rm -rf errors test-cmplog in core.*
   ../afl-clang-fast -o test-persistent ../examples/persistent_demo/persistent_demo.c > /dev/null 2>&1
   test -e test-persistent && {
     echo foo | ../afl-showmap -m ${MEM_LIMIT} -o /dev/null -q -r ./test-persistent && {