From 1d5c98e243aecef49f13db22a5474bf16846c4bf Mon Sep 17 00:00:00 2001 From: Brian Neradt Date: Thu, 13 May 2021 17:21:17 +0000 Subject: [PATCH] AuTest: use exteneded help output to determin curl feature support I ran the AuTest suite with a recent development version of curl and noticed that the proxy_protocol.test.py test was skipped because it thought that the built curl version didn't have haproxy-protocol support. It did have this support, but that version of curl didn't show that option in the brief `--help` output but it was shown if `--help all` was used. This change makes checking curl feature support use `--help all` for all feature requests. --- tests/gold_tests/autest-site/conditions.test.ext | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gold_tests/autest-site/conditions.test.ext b/tests/gold_tests/autest-site/conditions.test.ext index 52af993d505..e182e699ab3 100644 --- a/tests/gold_tests/autest-site/conditions.test.ext +++ b/tests/gold_tests/autest-site/conditions.test.ext @@ -79,7 +79,7 @@ def HasCurlOption(self, option): return False return self.CheckOutput( - ['curl', '--help'], + ['curl', '--help', 'all'], default, "Curl needs to support option: {option}".format(option=option) )