[master] 00db3feea vtest: Document expect_pattern

Nils Goroll nils.goroll at uplex.de
Mon Apr 29 13:39:04 UTC 2024


commit 00db3feeae860be6794a788c76ae2943d4784279
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Mar 25 11:20:41 2024 +0100

    vtest: Document expect_pattern

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 540e8fc1d..5652e1e02 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -373,6 +373,13 @@ cmd_http_expect(CMD_ARGS)
 	vtc_expect(vl, av[0], lhs, cmp, av[2], rhs);
 }
 
+/* SECTION: client-server.spec.expect_pattern
+ *
+ * expect_pattern
+ *
+ * Expect as the http body the test pattern generated by chunkedlen ('0'..'7'
+ * repeating).
+ */
 static void
 cmd_http_expect_pattern(CMD_ARGS)
 {


More information about the varnish-commit mailing list