[tor/master] Make test-network.sh more robust against arguments containing spaces

8 Sep
2015
8 Sep
'15
6:44 p.m.
commit 6b118e1e1e17888beb2d61525c326ddd6bfd7933 Author: teor (Tim Wilson-Brown) <teor2345@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
3542
Age (days ago)
3542
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org