From 0fc1e01e11cca1c86eb6dc33329eb6a6c0cb1d8b Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 25 Jun 2008 22:09:00 +0000 Subject: [PATCH] Test case for CLI help and parameter functions git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2815 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- .../bin/varnishtest/tests/b00008.vtc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 varnish-cache/bin/varnishtest/tests/b00008.vtc diff --git a/varnish-cache/bin/varnishtest/tests/b00008.vtc b/varnish-cache/bin/varnishtest/tests/b00008.vtc new file mode 100644 index 00000000..073cf12c --- /dev/null +++ b/varnish-cache/bin/varnishtest/tests/b00008.vtc @@ -0,0 +1,19 @@ +# $Id$ + +test "Test CLI help and parameter functions" + +varnish v1 -arg "-b localhost:9080" + +varnish v1 -cli "help" + +varnish v1 -cli "param.show" + +varnish v1 -cli "param.show diag_bitmap" + +varnish v1 -cli "param.set diag_bitmap 0x40" + +varnish v1 -cli "param.set diag_bitmap 0x0" + +varnish v1 -start + +varnish v1 -cli "help" -- 2.39.5