[master] 9e69e5b In the absence of ordering comparisons, use unequality to make sure the number is 3 or higher
Poul-Henning Kamp
phk at varnish-cache.org
Thu Jan 27 19:19:30 CET 2011
commit 9e69e5bdcbcabbd09ad89f7aea6f280c57a764be
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Jan 27 18:16:49 2011 +0000
In the absence of ordering comparisons, use unequality to make sure
the number is 3 or higher
diff --git a/bin/varnishtest/tests/g00002.vtc b/bin/varnishtest/tests/g00002.vtc
index 4ba8ffa..b12e8db 100644
--- a/bin/varnishtest/tests/g00002.vtc
+++ b/bin/varnishtest/tests/g00002.vtc
@@ -31,7 +31,9 @@ client c1 {
} -run
# If this fails, the multiple storage allocations did not happen
-varnish v1 -expect SMF.s0.nreq == 3
+varnish v1 -expect SMF.s0.nreq != 0
+varnish v1 -expect SMF.s0.nreq != 1
+varnish v1 -expect SMF.s0.nreq != 2
client c1 {
# See varnish can gunzip it.
More information about the varnish-commit
mailing list