Browse Source

Make test-network.sh more robust against arguments containing spaces

teor (Tim Wilson-Brown) 8 years ago
parent
commit
6b118e1e1e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/test/test-network.sh

+ 2 - 2
src/test/test-network.sh

@@ -3,9 +3,9 @@
 ECHO_N="/bin/echo -n"
 use_coverage_binary=false
 
-until [ -z $1 ]
+until [ -z "$1" ]
 do
-  case $1 in
+  case "$1" in
     --chutney-path)
       export CHUTNEY_PATH="$2"
       shift