[master] 6829b6b test real <op> int
Nils Goroll
nils.goroll at uplex.de
Fri Sep 9 12:12:12 CEST 2016
commit 6829b6ba1e41aee72dda278ed7ef33793fca33ee
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Sep 8 19:00:34 2016 +0200
test real <op> int
diff --git a/bin/varnishtest/tests/v00020.vtc b/bin/varnishtest/tests/v00020.vtc
index b800411..a932426 100644
--- a/bin/varnishtest/tests/v00020.vtc
+++ b/bin/varnishtest/tests/v00020.vtc
@@ -115,6 +115,11 @@ varnish v1 -vcl {
set req.http.foo = 3.6 * 1.4;
set req.http.foo = 3.6 / 1.4;
+ set req.http.foo = 1.0 + 1;
+ set req.http.foo = 1.0 - 1;
+ set req.http.foo = 3.0 * 2;
+ set req.http.foo = 3.0 / 2;
+
set req.http.foo = req.http.foo ~ "bar";
set req.http.foo = req.http.foo !~ "bar";
set req.http.foo = "foo" ~ "bar";
More information about the varnish-commit
mailing list