diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-10-12 16:29:23 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-10-12 16:29:23 -0700 |
commit | b5756023920bc48bd879b419f80849ded38173c8 (patch) | |
tree | aa7d8e802de759e3883fa1418b854337077eec4d | |
parent | db46699c438c2d1287563587fddea84e34c53482 (diff) | |
download | rainbows-b5756023920bc48bd879b419f80849ded38173c8.tar.gz |
Starting with "$((" can be ambiguous and confused for shell arithmetic.
-rwxr-xr-x | t/t0501-cramp-rainsocket.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0501-cramp-rainsocket.sh b/t/t0501-cramp-rainsocket.sh index 762d5ac..43eceb1 100755 --- a/t/t0501-cramp-rainsocket.sh +++ b/t/t0501-cramp-rainsocket.sh @@ -25,7 +25,7 @@ t_begin "setup and start" && { } t_begin "wait for server to say hello to us" && { - ok=$((curl --no-buffer -sS http://$listen/ || :) | \ + ok=$( (curl --no-buffer -sS http://$listen/ || :) | \ (tr -d '\0\0377' || :) | \ awk '/Hello from the Server/ { print "ok"; exit 0 }') |