[master] b5d65c1 Polish

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Sat Jan 28 01:19:04 CET 2017


commit b5d65c1ab3ce373505c683a1f61270785f3e4272
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Sat Jan 28 01:16:32 2017 +0100

    Polish

diff --git a/bin/varnishtest/tests/c00003.vtc b/bin/varnishtest/tests/c00003.vtc
index 52c1269..01adffd 100644
--- a/bin/varnishtest/tests/c00003.vtc
+++ b/bin/varnishtest/tests/c00003.vtc
@@ -7,20 +7,22 @@ shell -err -match "have same address|already in use" {
 }
 
 # -a bad protocol specs
-shell -err -expect "Too many sub-arguments" \
-	"varnishd -a 127.0.0.1:80000,PROXY,FOO -d 2>&1"
-shell -err -expect "Too many sub-arguments" \
-	"varnishd -a 127.0.0.1:80000,HTTP/1,FOO -d 2>&1"
+shell -err -expect "Too many sub-arguments" {
+	varnishd -a 127.0.0.1:80000,PROXY,FOO -d
+}
+shell -err -expect "Too many sub-arguments" {
+	varnishd -a 127.0.0.1:80000,HTTP/1,FOO -d
+}
 
 # This requires non-local binds to be disabled.  If you see this fail
 # and are on Linux, ensure /proc/net/ipv4/ip_nonlocal_bind is set to 0.
 
 # All bad listen addresses
 shell -err -expect "Error: Could not get socket" {
-	varnishd -F -a "${bad_ip}:0" -b '***' -n ${tmpdir} 2>&1
+	varnishd -F -a "${bad_ip}:0" -b '***' -n ${tmpdir}
 }
 
 # old style address list
 shell -err -expect "Unknown protocol" {
-	varnishd -F -a "127.0.0.1:0,${bad_ip}:0" -b '***' -n ${tmpdir} 2>&1
+	varnishd -F -a "127.0.0.1:0,${bad_ip}:0" -b '***' -n ${tmpdir}
 }



More information about the varnish-commit mailing list