From 51b23438333383d89565e1fbb22b58983e82bb65 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 11 Nov 2008 20:40:37 +0000 Subject: [PATCH] Fix this test-case to not rely on being able to compile /dev/null now that this is no longer possible. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3389 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/tests/v00016.vtc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishtest/tests/v00016.vtc b/varnish-cache/bin/varnishtest/tests/v00016.vtc index e154999a..a70a563f 100644 --- a/varnish-cache/bin/varnishtest/tests/v00016.vtc +++ b/varnish-cache/bin/varnishtest/tests/v00016.vtc @@ -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 << -- 2.39.5