r3389 - trunk/varnish-cache/bin/varnishtest/tests

phk at projects.linpro.no phk at projects.linpro.no
Tue Nov 11 21:40:37 CET 2008


Author: phk
Date: 2008-11-11 21:40:37 +0100 (Tue, 11 Nov 2008)
New Revision: 3389

Modified:
   trunk/varnish-cache/bin/varnishtest/tests/v00016.vtc
Log:
Fix this test-case to not rely on being able to compile /dev/null
now that this is no longer possible.



Modified: trunk/varnish-cache/bin/varnishtest/tests/v00016.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/v00016.vtc	2008-11-11 20:22:05 UTC (rev 3388)
+++ trunk/varnish-cache/bin/varnishtest/tests/v00016.vtc	2008-11-11 20:40:37 UTC (rev 3389)
@@ -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 <<



More information about the varnish-commit mailing list