t/t0501-cramp-rainsocket.sh in rainbows-0.95.1 vs t/t0501-cramp-rainsocket.sh in rainbows-0.96.0
- old
+ new
@@ -22,9 +22,10 @@
rainbows_wait_start
}
t_begin "wait for server to say hello to us" && {
ok=$((curl --no-buffer -sS http://$listen/ || :) | \
+ (tr -d '\0\0377' || :) | \
awk '/Hello from the Server/ { print "ok"; exit 0 }')
test x"$ok" = xok
}