[master] 0145e4a7a vtc: Properly parse `rxdata -some`

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Feb 24 12:18:07 UTC 2021


commit 0145e4a7a3dbe1c94da1cc81e506e137394f7b59
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Feb 23 18:57:55 2021 +0100

    vtc: Properly parse `rxdata -some`

diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index e10b11a93..be80d32ed 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -2254,6 +2254,7 @@ cmd_rxdata(CMD_ARGS)
 
 	while (*++av)
 		if (!strcmp(*av, "-some")) {
+			av++;
 			STRTOU32(times, *av, p, vl, "-some");
 			if (!times)
 				vtc_fatal(vl, "-some argument must be more"


More information about the varnish-commit mailing list