[master] 00ce8fc White space OCD.
Poul-Henning Kamp
phk at FreeBSD.org
Mon Mar 16 11:15:35 CET 2015
commit 00ce8fcf165be03514787e9d3e5abf8bd1536459
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Mar 16 10:14:54 2015 +0000
White space OCD.
diff --git a/bin/varnishtest/tests/r01684.vtc b/bin/varnishtest/tests/r01684.vtc
index 3e0e422..f4eb71e 100644
--- a/bin/varnishtest/tests/r01684.vtc
+++ b/bin/varnishtest/tests/r01684.vtc
@@ -1,23 +1,23 @@
varnishtest "Regression test for #1684"
server s1 {
- rxreq
- txresp -hdr "foo: 1"
- accept
- rxreq
- txresp -hdr "foo: 2"
- accept
- rxreq
- txresp -hdr "foo: 3"
+ rxreq
+ txresp -hdr "foo: 1"
+ accept
+ rxreq
+ txresp -hdr "foo: 2"
+ accept
+ rxreq
+ txresp -hdr "foo: 3"
} -start
varnish v1 -vcl+backend {
- sub vcl_recv { return (pass); }
- sub vcl_backend_response {
- set beresp.http.bar = bereq.retries;
- if (beresp.http.foo != bereq.http.stop) {
- return (retry);
- }
- }
+ sub vcl_recv { return (pass); }
+ sub vcl_backend_response {
+ set beresp.http.bar = bereq.retries;
+ if (beresp.http.foo != bereq.http.stop) {
+ return (retry);
+ }
+ }
} -start
# check log for the aborted POST
@@ -31,8 +31,7 @@ varnish v1 -cliok "param.set debug +syncvsl"
varnish v1 -cliok "param.set max_retries 2"
client c1 {
- txreq -hdr "stop: 3"
- rxresp
- expect resp.http.foo == 3
+ txreq -hdr "stop: 3"
+ rxresp
+ expect resp.http.foo == 3
} -run
-
diff --git a/bin/varnishtest/tests/v00044.vtc b/bin/varnishtest/tests/v00044.vtc
index 59c4c33..1424689 100644
--- a/bin/varnishtest/tests/v00044.vtc
+++ b/bin/varnishtest/tests/v00044.vtc
@@ -51,7 +51,7 @@ varnish v1 -expect VBE.vcl2.default.happy >= 0
# and the unused one should go cold
delay 4
-varnish v1 -expect !VBE.vcl2.default.happy
+varnish v1 -expect !VBE.vcl2.default.happy
# Mark the used warm and use it the other
varnish v1 -cliok "vcl.state vcl1 warm"
More information about the varnish-commit
mailing list