[6.0] 3cbba137f Use 'process' when terminal/curses is involved
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:03 UTC 2018
commit 3cbba137fdbe6f612742b3868c4fcfea39e600c1
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 71ca1f601..5435f9865 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