[master] b7060de Test more obscure CLI corners

Poul-Henning Kamp phk at FreeBSD.org
Thu Nov 9 18:41:07 UTC 2017


commit b7060dedfdd5a77c5b8d8bcfa2069062ae19ce90
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Nov 9 09:46:53 2017 +0000

    Test more obscure CLI corners

diff --git a/bin/varnishtest/tests/a00017.vtc b/bin/varnishtest/tests/a00017.vtc
index e1bce88..b700305 100644
--- a/bin/varnishtest/tests/a00017.vtc
+++ b/bin/varnishtest/tests/a00017.vtc
@@ -31,6 +31,17 @@ shell -exit 1 -expect "Command failed with error code 500" {
 	varnishadm -n ${tmpdir}/v1 quit
 }
 
+shell -exit 1 -expect "Command failed with error code 102" {
+	varnishadm -n ${tmpdir}/v1 debug.panic.master -j
+}
+
+shell -exit 1 -expect "Command failed with error code 101" {
+	varnishadm -n ${tmpdir}/v1 123
+}
+
+shell "varnishadm -n ${tmpdir}/v1 param.set cli_limit 128"
+shell -expect "[response was truncated]" "varnishadm -n ${tmpdir}/v1 help"
+
 process p1 -stop -wait
 
 # Test multiple -f options


More information about the varnish-commit mailing list