[master] 3d7fdf4 Use 'process' when terminal/curses is involved

Poul-Henning Kamp phk at FreeBSD.org
Mon May 28 16:21:22 UTC 2018


commit 3d7fdf49c8e118f55c039e7c423bd4d8b8829b11
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 28 16:20:01 2018 +0000

    Use 'process' when terminal/curses is involved

diff --git a/bin/varnishtest/tests/u00004.vtc b/bin/varnishtest/tests/u00004.vtc
index 71ca1f6..5435f98 100644
--- a/bin/varnishtest/tests/u00004.vtc
+++ b/bin/varnishtest/tests/u00004.vtc
@@ -13,7 +13,9 @@ client c1 {
 } -run
 
 shell -expect "fetch" "varnishtop -n ${v1_name} -1"
-shell -expect "fetch" "varnishtop -n ${v1_name} -d"
+
+process p1 "varnishtop -n ${v1_name} -d" -run -screen_dump
+process p1 -expect-text 0 0 fetch
 
 # without -f
 shell -match "1\\.00 RespHeader Date: [^\\n]+\\n" {


More information about the varnish-commit mailing list