commit c64ef384bf42d177ac5581ab2321e061cdc94e16
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Tue Dec 5 13:03:12 2023 +0000
Try to work around "echo -n" being broken on Solaris
diff --git a/bin/varnishtest/tests/u00000.vtc b/bin/varnishtest/tests/u00000.vtc
index 95fac23dd..8ce91b74b 100644
--- a/bin/varnishtest/tests/u00000.vtc
+++ b/bin/varnishtest/tests/u00000.vtc
@@ -172,9 +172,9 @@ shell -err -expect {Cannot read -f file} {
# Test that incomplete CLI commands in -I causes failure
+filewrite ${tmpdir}/_foobar foobar
+
process p1 {
- /bin/echo -n foobar > ${tmpdir}/_foobar
- ls -l ${tmpdir}/_foobar
exec varnishd -n ${tmpdir}/v0 -d -a :0 -I ${tmpdir}/_foobar 2>&1
} -expect-exit 2 -dump -start
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Tue Dec 5 13:03:12 2023 +0000
Try to work around "echo -n" being broken on Solaris
diff --git a/bin/varnishtest/tests/u00000.vtc b/bin/varnishtest/tests/u00000.vtc
index 95fac23dd..8ce91b74b 100644
--- a/bin/varnishtest/tests/u00000.vtc
+++ b/bin/varnishtest/tests/u00000.vtc
@@ -172,9 +172,9 @@ shell -err -expect {Cannot read -f file} {
# Test that incomplete CLI commands in -I causes failure
+filewrite ${tmpdir}/_foobar foobar
+
process p1 {
- /bin/echo -n foobar > ${tmpdir}/_foobar
- ls -l ${tmpdir}/_foobar
exec varnishd -n ${tmpdir}/v0 -d -a :0 -I ${tmpdir}/_foobar 2>&1
} -expect-exit 2 -dump -start
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit