[4.1] 370ba20 Don't skip all tests depending on features

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Sep 5 13:45:13 CEST 2016


commit 370ba2073be09ba8c7a0dec5e6d15b3d3ea59d40
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 5 07:41:35 2016 +0000

    Don't skip all tests depending on features

diff --git a/bin/varnishtest/vtc.c b/bin/varnishtest/vtc.c
index 952adac..cd49c9f 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -577,7 +577,7 @@ cmd_feature(CMD_ARGS)
 	if (av == NULL)
 		return;
 
-	for (; *av != NULL; av++) {
+	for (av++; *av != NULL; av++) {
 #ifdef SO_RCVTIMEO_WORKS
 		if (!strcmp(*av, "SO_RCVTIMEO_WORKS"))
 			continue;



More information about the varnish-commit mailing list