about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-10-12 16:29:23 -0700
committerEric Wong <normalperson@yhbt.net>2011-10-12 16:29:23 -0700
commitb5756023920bc48bd879b419f80849ded38173c8 (patch)
treeaa7d8e802de759e3883fa1418b854337077eec4d /t
parentdb46699c438c2d1287563587fddea84e34c53482 (diff)
Starting with "$((" can be ambiguous and confused for shell arithmetic.
Diffstat (limited to 't')
-rwxr-xr-xt/t0501-cramp-rainsocket.sh2
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 }')