[6.0] bc039486e Add test coverage for ncurses update interval.
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Feb 8 12:31:12 UTC 2019
commit bc039486e4932eed9c31bfd3556f21c9706ae369
Author: Lasse Karstensen <lasse.karstensen at gmail.com>
Date: Sun Dec 2 22:29:16 2018 +0100
Add test coverage for ncurses update interval.
diff --git a/bin/varnishtest/tests/u00008.vtc b/bin/varnishtest/tests/u00008.vtc
index 5e1beff3e..0c35fb3fc 100644
--- a/bin/varnishtest/tests/u00008.vtc
+++ b/bin/varnishtest/tests/u00008.vtc
@@ -1,4 +1,4 @@
-varnishtest "trivial run of varnistat in curses mode"
+varnishtest "trivial run of varnishstat in curses mode"
server s1 -repeat 4 {
rxreq
@@ -24,6 +24,14 @@ client c1 {
process p1 -expect-text 0 0 "MAIN.s_sess"
process p1 -screen_dump
+process p1 -write {+}
+process p1 -screen_dump
+process p1 -expect-text 0 0 "Refresh interval set to 1.1 seconds."
+
+process p1 -write {-}
+process p1 -screen_dump
+process p1 -expect-text 0 0 "Refresh interval set to 1.0 seconds."
+
process p1 -write {vG}
process p1 -expect-text 0 0 "VBE.vcl1.s1.req"
process p1 -expect-text 0 0 "DIAG"
More information about the varnish-commit
mailing list