[master] a04c309 Test the "quit" CLI command
Poul-Henning Kamp
phk at FreeBSD.org
Thu Nov 9 18:41:07 UTC 2017
commit a04c309263f1aebd1dabe94536f38652606b5bac
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Nov 9 09:30:42 2017 +0000
Test the "quit" CLI command
diff --git a/bin/varnishtest/tests/a00017.vtc b/bin/varnishtest/tests/a00017.vtc
index 1a3538b..e1bce88 100644
--- a/bin/varnishtest/tests/a00017.vtc
+++ b/bin/varnishtest/tests/a00017.vtc
@@ -27,6 +27,10 @@ shell {varnishadm -n ${tmpdir}/v1 start}
shell {varnishadm -n ${tmpdir}/v1 debug.listen_address}
+shell -exit 1 -expect "Command failed with error code 500" {
+ varnishadm -n ${tmpdir}/v1 quit
+}
+
process p1 -stop -wait
# Test multiple -f options
More information about the varnish-commit
mailing list