[master] a519549 We only care if the variable exists, not about their value
    Poul-Henning Kamp 
    phk at FreeBSD.org
       
    Mon Mar 16 10:12:47 CET 2015
    
    
  
commit a51954903a6b121fea7f95b744fa8e3b45daa772
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Mar 16 09:12:32 2015 +0000
    We only care if the variable exists, not about their value
diff --git a/bin/varnishtest/tests/v00044.vtc b/bin/varnishtest/tests/v00044.vtc
index 7907e7e..19620a3 100644
--- a/bin/varnishtest/tests/v00044.vtc
+++ b/bin/varnishtest/tests/v00044.vtc
@@ -17,7 +17,7 @@ varnish v1 -vcl {
 varnish v1 -cliok "param.set vcl_cooldown 3"
 
 # We only have one vcl yet
-varnish v1 -expect VBE.vcl1.default.happy > 0
+varnish v1 -expect VBE.vcl1.default.happy >= 0
 varnish v1 -expect !VBE.vcl2.default.happy
 varnish v1 -cliok "backend.list -p *.*"
 
@@ -29,8 +29,8 @@ varnish v1 -vcl {
 }
 
 # Now we have two vcls (and run on the latest loaded)
-varnish v1 -expect VBE.vcl1.default.happy > 0
-varnish v1 -expect VBE.vcl2.default.happy > 0
+varnish v1 -expect VBE.vcl1.default.happy >= 0
+varnish v1 -expect VBE.vcl2.default.happy >= 0
 
 # Freeze the first VCL
 varnish v1 -cliok "vcl.state vcl1 cold"
@@ -44,7 +44,7 @@ varnish v1 -expect !VBE.vcl1.default.happy
 varnish v1 -cliok "vcl.use vcl1"
 delay .4
 varnish v1 -expect VBE.vcl1.default.happy >= 0
-varnish v1 -expect VBE.vcl2.default.happy > 0
+varnish v1 -expect VBE.vcl2.default.happy >= 0
 
 # and the unused one should go cold
 delay 4
    
    
More information about the varnish-commit
mailing list