[master] 141627835 Test assigning <bool> == <bool>
Nils Goroll
nils.goroll at uplex.de
Mon Oct 29 12:16:06 UTC 2018
commit 141627835d56fa86b148ce5fa992bca59a997e6f
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Oct 29 13:15:21 2018 +0100
Test assigning <bool> == <bool>
Tests #2809
diff --git a/bin/varnishtest/tests/v00020.vtc b/bin/varnishtest/tests/v00020.vtc
index e36c720c8..3cbe2678e 100644
--- a/bin/varnishtest/tests/v00020.vtc
+++ b/bin/varnishtest/tests/v00020.vtc
@@ -328,6 +328,8 @@ varnish v1 -vcl+backend {
debug.sethdr(resp.http.rst, req.restarts);
set resp.http.foo =
(resp.http.foo + resp.http.bar) == ("X" + resp.http.foo);
+ // Ticket 2809
+ set resp.http.bar = true == false;
}
sub vcl_deliver {
set resp.http.p = (0 + 9223372036854775807);
@@ -340,6 +342,7 @@ client c1 {
rxresp
expect resp.http.rst == "0"
expect resp.http.foo == "true"
+ expect resp.http.bar == "false"
expect resp.http.p == 9223372036854775807
expect resp.http.n == -9223372036854775807
} -run
More information about the varnish-commit
mailing list