Commit 5ad4d77f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix this test-case to not rely on being able to compile /dev/null

now that this is no longer possible.



git-svn-id: http://www.varnish-cache.org/svn/trunk@3389 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 286f7103
......@@ -2,16 +2,20 @@
test "Various VCL compiler coverage tests"
shell "true > /tmp/_varnishtest_empty_file"
varnish v1 -vcl {
backend b { .host = "127.0.0.1"; }
include "/dev/null" ;
include "/tmp/_varnishtest_empty_file" ;
}
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
include "/dev/null" |
include "/tmp/_varnishtest_empty_file" |
}
shell "rm -f /tmp/_varnishtest_empty_file"
varnish v1 -badvcl {
backend b { .host = "127.0.0.1"; }
include <<
......
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