summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-19 18:50:40 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-19 18:50:40 +0100
commit362b275c7d1cdc39b61b886db0ea15bba38a8cde (patch)
treeb01c06d53dc61fd05f227ed9031f215c78532719
parent199fa6a840b71d712c50c8480d5b2f7e13121e79 (diff)
downloadexchange-362b275c7d1cdc39b61b886db0ea15bba38a8cde.tar.gz
exchange-362b275c7d1cdc39b61b886db0ea15bba38a8cde.tar.bz2
exchange-362b275c7d1cdc39b61b886db0ea15bba38a8cde.zip
fix test script escaping
-rwxr-xr-xsrc/exchange/test_taler_exchange_httpd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/test_taler_exchange_httpd.sh b/src/exchange/test_taler_exchange_httpd.sh
index 209ee06fd..727014243 100755
--- a/src/exchange/test_taler_exchange_httpd.sh
+++ b/src/exchange/test_taler_exchange_httpd.sh
@@ -28,7 +28,7 @@ taler-exchange-httpd -d test-exchange-home &
# Give HTTP time to start
sleep 5
# Run test...
-cat test_taler_exchange_httpd.data | grep -v ^\# | awk '{ print "curl -d '\''" $2 "'\'' http://localhost:8081"$1 }' | bash
+cat test_taler_exchange_httpd.data | grep -v ^\# | awk '{ print "curl -d \47" $2 "\47 http://localhost:8081" $1 }' | bash
# Stop HTTP server
kill -TERM %%
# FIXME: not sure this is the 'correct' return code...