summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2018-01-06 15:08:29 +0100
committerJoel Rosdahl <joel@rosdahl.net>2018-01-10 20:58:32 +0100
commit8b11d855bed15e496763a1bd8e9b6b50e1ce9c1e (patch)
treeabb2657a8d74ab96168d1d9e5f0db5a96c98bf3e
parentd27d74d4702a2c5f466daf86e34f659879559645 (diff)
downloadccache-8b11d855bed15e496763a1bd8e9b6b50e1ce9c1e.tar.gz
test: Fix printing of failure reason with glob characters
-rwxr-xr-xtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index 8f6d6c46..6fbc1ca9 100755
--- a/test.sh
+++ b/test.sh
@@ -37,7 +37,7 @@ test_failed() {
echo
echo "Test suite: $(bold $CURRENT_SUITE)"
echo "Test case: $(bold $CURRENT_TEST)"
- echo "Failure reason: $(red $1)"
+ echo "Failure reason: $(red "$1")"
echo
echo "ccache -s:"
$CCACHE -s