This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new fa6aa62  AuTest: use exteneded help output to determin curl feature 
support (#7834)
fa6aa62 is described below

commit fa6aa624a80184b16b105c860d5565f1bb872636
Author: Brian Neradt <[email protected]>
AuthorDate: Thu May 13 16:05:16 2021 -0500

    AuTest: use exteneded help output to determin curl feature support (#7834)
    
    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 52af993..e182e69 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)
     )

Reply via email to