From 8942268ecb425db150e418eacd3f2c5e67325d9a Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Thu, 14 Jul 2016 20:10:47 -0400 Subject: [PATCH] test.sh: write test result to log for easier grepping Closes: #394 Approved by: cgwalters --- tests/vmcheck/test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/vmcheck/test.sh b/tests/vmcheck/test.sh index 1d8ed07e..2aabf5b2 100755 --- a/tests/vmcheck/test.sh +++ b/tests/vmcheck/test.sh @@ -91,13 +91,16 @@ for tf in $(find . -name 'test-*.sh' | sort); do | grep -e '^ok ' --line-buffered \ | xargs -d '\n' -n 1 echo " "; then pass_print "PASS: $bn" + echo "PASS" >> ${LOG} let "pass += 1" else if test $? = 77; then skip_print "SKIP: $bn" + echo "SKIP" >> ${LOG} let "skip += 1" else fail_print "FAIL: $bn" + echo "FAIL" >> ${LOG} let "fail += 1" fi fi