[tests]: use printf instead of echo in shell cgi script

personal/stbuehler/wip
Stefan Bühler 12 years ago
parent 8973c35562
commit f461b8a8b4

@ -11,9 +11,9 @@ class CGI(FastCGI):
SCRIPT_PATHINFO="""#!/bin/sh
echo -en 'Status: 200\\r\\nContent-Type: text/plain\\r\\n\\r\\n'
printf 'Status: 200\\r\\nContent-Type: text/plain\\r\\n\\r\\n'
echo -n ${PATH_INFO}
printf '%s' "${PATH_INFO}"
"""

Loading…
Cancel
Save