[master] 1ed631942 Test varnishhist a little bit more
Poul-Henning Kamp
phk at FreeBSD.org
Thu Sep 6 21:51:05 UTC 2018
commit 1ed63194208fda6502df1489c09703c3b3a05a92
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Sep 6 21:50:04 2018 +0000
Test varnishhist a little bit more
diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index 65f9246be..52bb69a6d 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -422,8 +422,8 @@ do_curses(void *arg)
case 'Q':
case 'q':
AZ(raise(SIGINT));
- endwin();
- return (NULL);
+ quit = 1;
+ break;
case '0':
case '1':
case '2':
diff --git a/bin/varnishtest/tests/u00009.vtc b/bin/varnishtest/tests/u00009.vtc
index bd6286e4f..8b962a63d 100644
--- a/bin/varnishtest/tests/u00009.vtc
+++ b/bin/varnishtest/tests/u00009.vtc
@@ -24,6 +24,13 @@ client c1 {
process p1 -expect-text 22 0 {#}
+client c1 {
+ txreq
+ rxresp
+} -run
+
+process p1 -expect-text 22 0 { | }
+
process p1 -expect-text 3 1 {20_}
process p1 -screen_dump
More information about the varnish-commit
mailing list