From 8b11d855bed15e496763a1bd8e9b6b50e1ce9c1e Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 6 Jan 2018 15:08:29 +0100 Subject: test: Fix printing of failure reason with glob characters --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1