summaryrefslogtreecommitdiff
path: root/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh
index ffa1a22..073d12c 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -15,7 +15,7 @@ for testfile in tests/*.bth; do
0) printf '\033[32m\033[1mPASS\033[0m %s\n' "$testname"
pass=$((pass + 1)) ;;
1) printf '\033[31m\033[1mFAIL\033[0m %s\n' "$testname"
- printf "\tgot output: %s\n" "$output"
+ printf "\tgot output: %s\n" "$(echo "$output" | head -n4)"
printf "\texpected: "
cat $outfile
fail=$((fail + 1)) ;;