[master] fd05bb9 More coverage.

Poul-Henning Kamp phk at FreeBSD.org
Thu Jun 7 12:02:09 UTC 2018


commit fd05bb9957dbf4755d9ed1206fbce46f3a90f6ef
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Jun 7 12:00:51 2018 +0000

    More coverage.

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index 88ab59e..65f9246 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -434,7 +434,7 @@ do_curses(void *arg)
 		case '7':
 		case '8':
 		case '9':
-			ms_delay = 1U << (ch - '0');
+			ms_delay = 1000U << (ch - '0');
 			break;
 		case '+':
 			ms_delay /= 2;
diff --git a/bin/varnishtest/tests/u00009.vtc b/bin/varnishtest/tests/u00009.vtc
index 77270fe..060503c 100644
--- a/bin/varnishtest/tests/u00009.vtc
+++ b/bin/varnishtest/tests/u00009.vtc
@@ -26,6 +26,10 @@ process p1 -screen_dump
 
 process p1 -winsz 23 80
 
+delay 5
+
+process p1 -write {0>+-<}
+
 delay 1.5
 
 process p1 -expect-text 2 1 {20_}


More information about the varnish-commit mailing list