From 362b275c7d1cdc39b61b886db0ea15bba38a8cde Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 19 Mar 2016 18:50:40 +0100 Subject: [PATCH] fix test script escaping --- src/exchange/test_taler_exchange_httpd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...