stabilize test

The refcount of the vcl can also have gone down to zero as in this vtc
output:

**   top  === process p1 -write "vcl.li\t\r"
**** p1   Writing 8 bytes
**   top  === process p1 -expect-text 0 1 "active   auto    warm         1...
**** dT   2.143
**** p1   output|varnish> vcl.list
**** dT   2.173
**** p1   output|varnish>
**** p1   output|
**** p1   output|200
**** p1   output|active   auto    warm         0    vcl1
**** dT   2.212
**** v1   vsl|          0 CLI             - Rd vcl.list
**** v1   vsl|          0 CLI             - Wr 200 40 active   auto    warm         0    vcl1

As the process facility does not support regexp-expects (yet?), we just
check for the beginning of the line
parent 198caa60
......@@ -24,7 +24,7 @@ process p1 -expect-text 0 1 "PONG"
process p1 -write "vcl.li\t\r"
process p1 -expect-text 0 1 "active auto warm 1 vcl1"
process p1 -expect-text 0 1 "active auto warm"
process p1 -write "vcl.s\t\th\t vcl1\r"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment