You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2021/04/05 21:12:06 UTC
[trafficserver] branch 8.1.x updated: sslheaders AuTest: Skip if
plugin does not exist (#7681)
This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.1.x by this push:
new 93d157c sslheaders AuTest: Skip if plugin does not exist (#7681)
93d157c is described below
commit 93d157c97aa18ed1c0888e23adb3cee621d57b39
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Mon Apr 5 16:11:50 2021 -0500
sslheaders AuTest: Skip if plugin does not exist (#7681)
Adding a skip condition on the sslheaders.test.py that verifies the
plugin exists (i.e., was configured and build) before running the test.
(cherry picked from commit 455b06eb3f44363007a475c1cd8c61d033a99c68)
Conflicts:
tests/gold_tests/pluginTest/sslheaders/sslheaders.test.py
---
tests/gold_tests/pluginTest/sslheaders/sslheaders.test.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/gold_tests/pluginTest/sslheaders/sslheaders.test.py b/tests/gold_tests/pluginTest/sslheaders/sslheaders.test.py
index 26c3a43..54d55be 100644
--- a/tests/gold_tests/pluginTest/sslheaders/sslheaders.test.py
+++ b/tests/gold_tests/pluginTest/sslheaders/sslheaders.test.py
@@ -22,6 +22,7 @@ Test sslheaders plugin.
'''
Test.SkipUnless(
+ Condition.PluginExists('sslheaders.so'),
Condition.HasATSFeature('TS_USE_TLS_ALPN'),
Condition.HasCurlFeature('http2'),
)