Skip to content

Commit 1e1d1cb

Browse files
authored
Skip autest for PROXY protocol if the version of curl is old (#12362)
`--haproxy-clientip` is available only on 8.2.0 or later.
1 parent 441c7f8 commit 1e1d1cb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/gold_tests/pluginTest/tsapi/test_TSVConnPPInfo.test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
Test TS API to get PROXY protocol info
2323
'''
2424

25-
Test.SkipUnless(Condition.HasProgram("nghttp", "Nghttp need to be installed on system for this test to work"),)
25+
Test.SkipUnless(
26+
Condition.HasProgram("nghttp", "Nghttp need to be installed on system for this test to work"),
27+
Condition.HasCurlVersion("8.2.0"),
28+
)
2629
Test.ContinueOnFail = True
2730

2831
# ----

0 commit comments

Comments
 (0)