[master] eb24a4a6e Cover a more lines to a void a pointless red gcov entry

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 16 11:12:06 UTC 2021


commit eb24a4a6e1992924dbfbd2756521b5c4044825f3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 16 11:11:07 2021 +0000

    Cover a more lines to a void a pointless red gcov entry

diff --git a/lib/libvarnishapi/vxp_test_coverage.sh b/lib/libvarnishapi/vxp_test_coverage.sh
index 316a7e9c1..65fee3f38 100755
--- a/lib/libvarnishapi/vxp_test_coverage.sh
+++ b/lib/libvarnishapi/vxp_test_coverage.sh
@@ -1,4 +1,10 @@
 #!/bin/sh
 
+set -ex
+
 ./vxp_test -q '(*Error) or (BerespStatus >= 500)'
 ./vxp_test -q 'ReqHeader:user-agent ~ "iPod" and Timestamp:Resp[2] > 1'
+
+! ./vxp_test -h 
+
+! ./vxp_test -q 'The head and in frontal attack on an english writer' 


More information about the varnish-commit mailing list