]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Fix verbose printing of test case name with space
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 28 Dec 2017 18:16:20 +0000 (19:16 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 28 Dec 2017 18:16:20 +0000 (19:16 +0100)
test.sh

diff --git a/test.sh b/test.sh
index ce4f9760d62fd3f896395ccce9c6912328595c5d..53f68b8268212b1cf89c5ec19e6df6fd75c73997 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -218,7 +218,7 @@ TEST() {
     CCACHE_COMPILE="$CCACHE $COMPILER"
 
     if $VERBOSE; then
-        printf "\n  %s" $CURRENT_TEST
+        printf "\n  %s" "$CURRENT_TEST"
     else
         printf .
     fi