REGTESTS: startup: activate automatic_maxconn.vtc
Check if USE_OBSOLETE_LINK=1 was used so it could run this test when
ASAN is not built, since ASAN require this option.
For this test to work, the ulimit -n value must be big enough.
Could be backported at least to 2.5.
diff --git a/reg-tests/startup/automatic_maxconn.vtc b/reg-tests/startup/automatic_maxconn.vtc
index 3b5aeb4..b7433b1 100644
--- a/reg-tests/startup/automatic_maxconn.vtc
+++ b/reg-tests/startup/automatic_maxconn.vtc
@@ -1,12 +1,14 @@
-#REGTEST_TYPE=broken
-#REQUIRE_VERSION=2.2
-#REQUIRE_OPTION=OPENSSL
+varnishtest "Automatic maxconn computation"
+feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
+feature cmd "$HAPROXY_PROGRAM -cc '!feature(OBSOLETE_LINKER)'"
+feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'"
+feature ignore_unknown_macro
+#REGTEST_TYPE=devel
+
# Check the maxconn computation with the -m parameter
# Broken because it can't work with ASAN.
-varnishtest "Automatic maxconn computation"
-
feature ignore_unknown_macro