From ead192adbbbf85ac581cf775b18ae70d59f86457 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Sat, 10 Sep 2016 20:10:59 -0400 Subject: [PATCH] test: more verbosity --- tests/test_cli/test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_cli/test.sh b/tests/test_cli/test.sh index adb3e4bd2..00446c45d 100644 --- a/tests/test_cli/test.sh +++ b/tests/test_cli/test.sh @@ -9,13 +9,17 @@ function testExample() { $APP &> /dev/null & sleep 2 tmsp-cli --verbose batch < $INPUT > "${INPUT}.out.new" - killall "$APP" &> /dev/null + killall "$APP" pre=`shasum < "${INPUT}.out"` post=`shasum < "${INPUT}.out.new"` if [[ "$pre" != "$post" ]]; then echo "You broke the tutorial" + echo "Got:" + cat "${INPUT}.out.new" + echo "Expected:" + cat "${INPUT}.out" exit 1 fi