[master] 1eed4bb Add multi-label tests
Poul-Henning Kamp
phk at FreeBSD.org
Sat Sep 10 22:39:08 CEST 2016
commit 1eed4bb724e55943f7affaa295fb71f67343de9f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Sat Sep 10 20:31:22 2016 +0000
Add multi-label tests
diff --git a/bin/varnishtest/tests/v00048.vtc b/bin/varnishtest/tests/v00048.vtc
index 7f35402..68dedcf 100644
--- a/bin/varnishtest/tests/v00048.vtc
+++ b/bin/varnishtest/tests/v00048.vtc
@@ -37,8 +37,10 @@ client c1 {
varnish v1 -cliok "vcl.list"
varnish v1 -clierr 106 "vcl.label foo vcl0"
varnish v1 -cliok "vcl.label foo vcl2"
-varnish v1 -clierr 300 "vcl.label bar vcl2"
+varnish v1 -cliok "vcl.label bar vcl2"
+varnish v1 -cliok "vcl.list"
varnish v1 -clierr 300 "vcl.discard vcl2"
+varnish v1 -cliok "vcl.discard bar"
varnish v1 -cliok "vcl.label foo vcl1"
varnish v1 -clierr 106 "vcl.label vcl1 vcl2"
varnish v1 -clierr 106 "vcl.state foo cold"
@@ -94,7 +96,13 @@ varnish v1 -cliok "vcl.use vcl1"
varnish v1 -cliok "vcl.discard fo-"
varnish v1 -clierr 106 "vcl.discard fo-"
+varnish v1 -cliok "vcl.label label1 vcl1"
+varnish v1 -cliok "vcl.label label2 vcl1"
+varnish v1 -cliok "vcl.label label3 vcl1"
+varnish v1 -cliok "vcl.list"
+
varnish v1 -start
+varnish v1 -cliok "vcl.list"
varnish v1 -cliok "vcl.label snarf vcl1"
server s1 -start
client c1 -run
More information about the varnish-commit
mailing list