[4.1] 57eb0f1 Unbreak test from incomplete backport

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Wed Dec 7 17:00:07 CET 2016


commit 57eb0f172fb97c47e52045c1bb96c4f3f6259554
Author: Pål Hermunn Johansen <hermunn at varnish-software.com>
Date:   Wed Dec 7 16:56:56 2016 +0100

    Unbreak test from incomplete backport
    
    The previous commit was not a good backport, as I did not check the
    new test case. Now the test case has been updated, and everything
    should work.

diff --git a/bin/varnishtest/tests/r02148.vtc b/bin/varnishtest/tests/r02148.vtc
index 9654b39..d90b2bb 100644
--- a/bin/varnishtest/tests/r02148.vtc
+++ b/bin/varnishtest/tests/r02148.vtc
@@ -12,7 +12,9 @@ client c1 {
 	rxresp
 } -run
 
-process p1 {varnishncsa -d -n ${v1_name} -F "%u %{Host}i"} -run
+process p1 {varnishncsa -d -n ${v1_name} -F "%u %{Host}i"} -start
+process p1 -wait
 shell {grep -q "foo qux" ${tmpdir}/p1/stdout}
-process p2 {varnishncsa -d -n ${v1_name} -F "%r"} -run
+process p2 {varnishncsa -d -n ${v1_name} -F "%r"} -start
+process p2 -wait
 shell {grep -q "GET http://qux/ HTTP/1.1" ${tmpdir}/p2/stdout}



More information about the varnish-commit mailing list