[master] 4b895d763 use "feature ipv4"
Nils Goroll
nils.goroll at uplex.de
Mon Jan 11 22:31:11 UTC 2021
commit 4b895d7632152e1526f5e7e95aa1bc6593a2820c
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Jan 11 23:30:02 2021 +0100
use "feature ipv4"
from c862d49eedbc609b8bb4cb7b2fe15706ec92ffaf
diff --git a/bin/varnishtest/tests/o00005.vtc b/bin/varnishtest/tests/o00005.vtc
index d46792462..f20595589 100644
--- a/bin/varnishtest/tests/o00005.vtc
+++ b/bin/varnishtest/tests/o00005.vtc
@@ -1,8 +1,7 @@
varnishtest "PROXY v2 TLV test"
-# XXX this does does not work with IPv6, the workspace overflow test
-# is too brittle
-feature cmd {test "${localhost}" = "127.0.0.1"}
+# this does does not work with IPv6, the workspace overflow test is too brittle
+feature ipv4
server s1 {
rxreq
diff --git a/bin/varnishtest/tests/r01312.vtc b/bin/varnishtest/tests/r01312.vtc
index cec7ad2c6..1309dbbfb 100644
--- a/bin/varnishtest/tests/r01312.vtc
+++ b/bin/varnishtest/tests/r01312.vtc
@@ -1,7 +1,7 @@
varnishtest "acl miscompile"
-# XXX this test only works if we know a network prefix of localhost
-feature cmd {test "${localhost}" = "127.0.0.1"}
+# this test only works if we know a network prefix of localhost
+feature ipv4
server s1 {
rxreq
More information about the varnish-commit
mailing list