]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTEST: set_ssl_cert.vtc: replace "echo" with "printf"
authorIlya Shipitsin <chipitsine@gmail.com>
Wed, 8 Jan 2020 17:56:30 +0000 (22:56 +0500)
committerWilly Tarreau <w@1wt.eu>
Thu, 9 Jan 2020 04:56:04 +0000 (05:56 +0100)
"echo -e" for some reason does not work on travis-ci, so let us switch
to "printf"

Fixes: #423
reg-tests/ssl/set_ssl_cert.vtc

index 3d6ff0c9890be33fcba2cce2f3a1394ff7f137b4..11b2d154b05b76da0c07218b4e16b402805bb65a 100644 (file)
@@ -42,7 +42,7 @@ shell {
 }
 
 shell {
-   echo -e "set ssl cert ${testdir}/common.pem <<\n$(cat ${testdir}/ecdsa.pem)\n" | socat "${tmpdir}/h1/stats" -
+   printf "set ssl cert ${testdir}/common.pem <<\n$(cat ${testdir}/ecdsa.pem)\n\n" | socat "${tmpdir}/h1/stats" -
    echo "commit ssl cert ${testdir}/common.pem" | socat "${tmpdir}/h1/stats" -
 }