[master] 29f79b4ae vtc: tests incompatible with IPv6
Nils Goroll
nils.goroll at uplex.de
Sat Jan 9 20:17:15 UTC 2021
commit 29f79b4aebc9097a8db3174243fe27393de1a3f8
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Sat Jan 9 20:13:38 2021 +0100
vtc: tests incompatible with IPv6
Ref #3490
diff --git a/bin/varnishtest/tests/o00005.vtc b/bin/varnishtest/tests/o00005.vtc
index 7acd25bbf..d46792462 100644
--- a/bin/varnishtest/tests/o00005.vtc
+++ b/bin/varnishtest/tests/o00005.vtc
@@ -1,5 +1,9 @@
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"}
+
server s1 {
rxreq
txresp
diff --git a/bin/varnishtest/tests/r01312.vtc b/bin/varnishtest/tests/r01312.vtc
index 14674221f..cec7ad2c6 100644
--- a/bin/varnishtest/tests/r01312.vtc
+++ b/bin/varnishtest/tests/r01312.vtc
@@ -1,5 +1,8 @@
varnishtest "acl miscompile"
+# XXX this test only works if we know a network prefix of localhost
+feature cmd {test "${localhost}" = "127.0.0.1"}
+
server s1 {
rxreq
txresp
More information about the varnish-commit
mailing list