[master] 090bfa2 Skip tests with older nghttp versions

Federico G. Schwindt fgsch at lodoss.net
Sat Sep 10 21:11:08 CEST 2016


commit 090bfa23a4ab99d92f569b6bf3142abeefc39d85
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sat Sep 10 19:53:30 2016 +0100

    Skip tests with older nghttp versions
    
    These versions implement previous drafts that will fail the upgrade.

diff --git a/bin/varnishtest/tests/a02022.vtc b/bin/varnishtest/tests/a02022.vtc
index aeb1ff6..5e0e9b4 100644
--- a/bin/varnishtest/tests/a02022.vtc
+++ b/bin/varnishtest/tests/a02022.vtc
@@ -1,6 +1,6 @@
 varnishtest "H/1 -> H/2 upgrade"
 
-feature cmd "nghttp --help > /dev/null 2>&1"
+feature cmd "nghttp --version | grep -q 'nghttp2/[1-9]'"
 
 server s1 {
 	rxreq



More information about the varnish-commit mailing list