Commit 011d4e2c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Change these tests to use err_shell

parent 924f25b1
......@@ -3,7 +3,7 @@ varnishtest "Code coverage of VCL compiler and RSTdump etc"
shell "${varnishd} -b 127.0.0.1:80 -C -n ${tmpdir} > /dev/null 2>&1"
shell "${varnishd} -x dumprstparam > /dev/null 2>&1"
shell "${varnishd} -x dumprstvsl > /dev/null 2>&1"
shell "! ${varnishd} -spersistent > /dev/null 2>&1"
shell "! ${varnishd} -jxyz > /dev/null 2>&1"
shell "! ${varnishd} -jnone -jxyz > /dev/null 2>&1"
shell "! ${varnishd} -d -jxyz > /dev/null 2>&1"
err_shell {-spersistent has been deprecated} "${varnishd} -spersistent 2>&1"
err_shell {Unknown jail method "xyz"} "${varnishd} -jxyz 2>&1"
err_shell {-j must be the first argument} "${varnishd} -jnone -jxyz 2>&1"
err_shell {-j must be the first argument} "${varnishd} -d -jxyz 2>&1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment