[6.0] 0111c1083 More coverage.

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:10 UTC 2018


commit 0111c10833aefe8f1d4480c4470f14e23cf6e395
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 88ab59e8a..65f9246be 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 77270fe92..060503c5b 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