aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-02-01 12:59:37 +0100
committervanhauser-thc <vh@thc.org>2024-02-01 12:59:37 +0100
commit5549212d9e87de8f45cf72390cf549e23d7a9f60 (patch)
tree37a8b255a2e2254232b82a52620efa8577ecceae
parenteb52f1cc08e0aacc3c46d1c5a9742526657c842a (diff)
downloadAFLplusplus-5549212d9e87de8f45cf72390cf549e23d7a9f60.tar.gz
clean test script
-rwxr-xr-xtest/test-nyx-mode.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/test-nyx-mode.sh b/test/test-nyx-mode.sh
index 4d5f66ff..494a74f2 100755
--- a/test/test-nyx-mode.sh
+++ b/test/test-nyx-mode.sh
@@ -4,15 +4,8 @@
$ECHO "$BLUE[*] Testing: nyx_mode"
-echo AFL_CC=$AFL_CC
unset AFL_CC
-apt-cache search clang|grep -E '^clang-1'
-apt-cache search gcc|grep -E '^gcc-1'
-ls -al ../libnyx.so ../afl-* ../*.so
-../afl-cc -h
-echo AFL-CC
-AFL_DEBUG=1 ../afl-cc -v -o test-inst ../test-instr.c 2>&1
-ls -l test-instr
+
test -e ../libnyx.so && {
../afl-cc -o test-instr ../test-instr.c > errors 2>&1
test -e test-instr && {