Make sure running a file in afl.sh will quit
diff --git a/tests/afl.sh b/tests/afl.sh
index ea86225..bda7450 100755
--- a/tests/afl.sh
+++ b/tests/afl.sh
@@ -53,7 +53,7 @@
 
 		echo "    Running whole file..."
 
-		"$bc" "$@" -l "$f" > /dev/null 2>&1
+		echo "halt" | "$bc" "$@" -l "$f" > /dev/null 2>&1
 		error="$?"
 
 		if [ "$error" -gt 127 ]; then