Commit 983645cb authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Coverage test of varnishtest

parent b10d0cba
varnishtest "Varnishtest coverage"
# Cover usage processing
shell -err -expect {usage: varnishtest} {
varnishtest -v -l
}
# Cover argument processing
shell {
echo 'varnishtest foo' > ${tmpdir}/_.vtc
varnishtest -j 4 -n 10 -C -v -b 100k -L -l ${tmpdir}/_.vtc
ls -l ${tmpdir}
}
shell -err -expect {No such file or directory} {
rm -f ${tmpdir}/_.vtc
env VTEST_DURATION=15 \
varnishtest -j 4 -n 10 -C -v -b 100k -L -l ${tmpdir}/_.vtc
}
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