[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] a8defc075 Use back-slash escapes.
From:       Poul-Henning Kamp <phk () FreeBSD ! org>
Date:       2019-09-16 7:18:07
Message-ID: 20190916071807.66DAD9582D () lists ! varnish-cache ! org
[Download RAW message or body]


commit a8defc075a4f9c925dea0390f1a69d78ba416a21
Author: Poul-Henning Kamp <phk@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 {
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic