[master] dc8177b Don't skip all tests depending on features

Poul-Henning Kamp phk at FreeBSD.org
Mon Sep 5 10:01:10 CEST 2016


commit dc8177b2aeb336fa1e280472ac9a3f1ab7948852
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 f3bf538..fbedb85 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -574,7 +574,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