[master] c58b30e Test multiple -f options with a bad VCL

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Feb 23 17:13:05 CET 2017


commit c58b30efcfa93d30bc3a06815fa434fc994a7b7b
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Feb 23 17:02:41 2017 +0100

    Test multiple -f options with a bad VCL

diff --git a/bin/varnishtest/tests/a00009.vtc b/bin/varnishtest/tests/a00009.vtc
index ce0b210..4aef8e1 100644
--- a/bin/varnishtest/tests/a00009.vtc
+++ b/bin/varnishtest/tests/a00009.vtc
@@ -91,3 +91,15 @@ shell -match "available.*boot0" {varnishadm -n ${tmpdir}/v0 vcl.list}
 shell -match "active.*boot"     {varnishadm -n ${tmpdir}/v0 vcl.list}
 
 process p2 -stop -wait
+
+# Test multiple -f options with a bad VCL
+
+shell -err {
+	exec varnishd -n ${tmpdir}/v0 -F -a :0 -l2m,3m -f ${tmpdir}/ok1 \
+	    -f ${tmpdir}/ok2 -f ${tmpdir}/bad
+}
+
+shell -err {
+	exec varnishd -n ${tmpdir}/v0 -F -a :0 -l2m,3m -f ${tmpdir}/ok1 \
+	    -f ${tmpdir}/bad -f ${tmpdir}/ok2
+}



More information about the varnish-commit mailing list