[master] c64ef384b Try to work around "echo -n" being broken on Solaris

Poul-Henning Kamp phk at FreeBSD.org
Tue Dec 5 13:04:06 UTC 2023


commit c64ef384bf42d177ac5581ab2321e061cdc94e16
Author: Poul-Henning Kamp <phk at 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
 


More information about the varnish-commit mailing list