about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xtest/test-nyx-mode.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test-nyx-mode.sh b/test/test-nyx-mode.sh
index 913a6d07..1d97045b 100755
--- a/test/test-nyx-mode.sh
+++ b/test/test-nyx-mode.sh
@@ -5,7 +5,7 @@
 $ECHO "$BLUE[*] Testing: nyx_mode"
 
 test -e ../libnyx.so && {
-  ../afl-cc -o test-instr ../test-instr.c >/dev/null 2>&1
+  ../afl-cc -o test-instr ../test-instr.c > errors 2>&1
   test -e test-instr && {
     {
       rm -rf nyx-test in out
@@ -58,6 +58,9 @@ test -e ../libnyx.so && {
       #rm -rf test-instr in out errors nyx-test
     }
   } || {
+    echo CUT------------------------------------------------------------------CUT
+    cat errors
+    echo CUT------------------------------------------------------------------CUT
     $ECHO "$RED[!] afl-cc compilation of test targets failed - what is going on??"
     CODE=1
   }