[master] a8defc075 Use back-slash escapes.

Poul-Henning Kamp phk at FreeBSD.org
Mon Sep 16 07:18:07 UTC 2019


commit a8defc075a4f9c925dea0390f1a69d78ba416a21
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 16 07:17:02 2019 +0000

    Use back-slash escapes.

diff --git a/bin/varnishtest/tests/r00494.vtc b/bin/varnishtest/tests/r00494.vtc
index e0db8a4bf..e46587c1d 100644
--- a/bin/varnishtest/tests/r00494.vtc
+++ b/bin/varnishtest/tests/r00494.vtc
@@ -1,16 +1,11 @@
 varnishtest "HTTP continuation lines"
 
-#NB: careful about spaces and tabs in this test.
-
 server s1 {
 	rxreq
-	txresp -hdr {Foo: bar,
-	barf: fail} -body "xxx"
+	txresp -hdr "Foo: bar,\n\tbarf: fail" -body "xxx"
 
 	rxreq
-	txresp -hdr {Foo: bar,
- 	
-	barf: fail} -body "xxx"
+	txresp -hdr "Foo: bar,\n \t\n\tbarf: fail" -body "xxx"
 } -start
 
 varnish v1 -vcl+backend {


More information about the varnish-commit mailing list