Commit 7c43a110 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add test case for -I cli_file

parent 9e272275
varnishtest "Test -I argument"
shell -err -expect {Only one -I allowed} {
touch foo bar
varnishd -f '' -I foo -I bar -n ${tmpdir}/v0 -a :0
}
shell -err -expect {Error: -I file CLI command failed (104)} {
echo "vcl.list" > foo
echo "-foobar" >> foo
echo "vcl.load" >> foo
varnishd -f '' -I foo -n ${tmpdir}/v0 -a :0
}
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