From: Joel Rosdahl Date: Mon, 22 Feb 2010 07:37:25 +0000 (+0100) Subject: Quote statistics key in failed test output for readability X-Git-Tag: v3.0pre0~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f327c837fcdb613a78f49db6f0909c23013f4a7c;p=thirdparty%2Fccache.git Quote statistics key in failed test output for readability --- diff --git a/test.sh b/test.sh index 75d7392fd..b9b792bba 100755 --- a/test.sh +++ b/test.sh @@ -69,7 +69,7 @@ checkstat() { expected_value="$2" value=`getstat "$stat"` if [ "$expected_value" != "$value" ]; then - test_failed "Expected $stat to be $expected_value, got $value" + test_failed "Expected \"$stat\" to be $expected_value, got $value" fi }