[master] e85d1e6 Exercise command complettion in varnishadm

Poul-Henning Kamp phk at FreeBSD.org
Sat Jan 13 17:17:07 UTC 2018


commit e85d1e67787f97ca1417bb93419931ff01ed0e20
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Jan 13 17:16:14 2018 +0000

    Exercise command complettion in varnishadm

diff --git a/bin/varnishtest/tests/u00011.vtc b/bin/varnishtest/tests/u00011.vtc
index 698b702..ab485bb 100644
--- a/bin/varnishtest/tests/u00011.vtc
+++ b/bin/varnishtest/tests/u00011.vtc
@@ -9,17 +9,27 @@ server s1 {
 
 varnish v1 -vcl+backend {} -start
 
-process p1 -dump {varnishadm -n ${v1_name}} -start
-
-process p1 -need-bytes 1
-
 client c1 {
 	txreq
 	rxresp
 } -run
 
-process p1 -writeln {panic.show}
+varnish v1 -vsl_catchup
+
+process p1 -log {varnishadm -n ${v1_name}} -start
+
+process p1 -need-bytes 1
+
+process p1 -write "pi\t\r"
+
+process p1 -need-bytes 100
+
+process p1 -write "vcl.li\t\r"
+
+process p1 -need-bytes 200
+
+process p1 -write "vcl.s\t\th\tvcl1\r"
 
-process p1 -need-bytes 380
+process p1 -need-bytes 600
 
 process p1 -screen_dump -write "quit\r" -wait


More information about the varnish-commit mailing list