[tor-commits] [tor/master] Make test-network.sh more robust against arguments containing spaces
nickm at torproject.org
nickm at torproject.org
Tue Sep 8 18:44:57 UTC 2015
commit 6b118e1e1e17888beb2d61525c326ddd6bfd7933
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date: Tue Sep 8 22:27:12 2015 +1000
Make test-network.sh more robust against arguments containing spaces
---
src/test/test-network.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/test-network.sh b/src/test/test-network.sh
index b5d7f7c..451a40a 100755
--- a/src/test/test-network.sh
+++ b/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
More information about the tor-commits
mailing list