aboutsummaryrefslogtreecommitdiff
path: root/src/test/test-network.sh
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-09-08 22:27:12 +1000
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-09-08 22:27:12 +1000
commit6b118e1e1e17888beb2d61525c326ddd6bfd7933 (patch)
tree57bd56183e0f25d521fafb0602bf492012d8a6ee /src/test/test-network.sh
parent81e3deeb54d2f3d022655c6a51f966ef44bf6fb3 (diff)
downloadtor-6b118e1e1e17888beb2d61525c326ddd6bfd7933.tar.gz
tor-6b118e1e1e17888beb2d61525c326ddd6bfd7933.zip
Make test-network.sh more robust against arguments containing spaces
Diffstat (limited to 'src/test/test-network.sh')
-rwxr-xr-xsrc/test/test-network.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-network.sh b/src/test/test-network.sh
index b5d7f7c42d..451a40afd0 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