You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by dr...@apache.org on 2017/10/18 22:35:17 UTC

[trafficserver] branch master updated (fa702d2 -> 3eb676e)

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

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


    from fa702d2  Added skip condition on http2 test for lack of curl http2
     new 79e3bf8  added plugin exists condition
     new 3eb676e  use os.path.join

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tests/gold_tests/autest-site/conditions.test.ext | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].

[trafficserver] 02/02: use os.path.join

Posted by dr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3eb676e03a10cd71eb3d78b36d967b2957ac39cd
Author: = <bi...@gmail.com>
AuthorDate: Sat Oct 14 00:56:02 2017 -0500

    use os.path.join
---
 tests/gold_tests/autest-site/conditions.test.ext | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/gold_tests/autest-site/conditions.test.ext b/tests/gold_tests/autest-site/conditions.test.ext
index 21b21c2..40d4ee4 100644
--- a/tests/gold_tests/autest-site/conditions.test.ext
+++ b/tests/gold_tests/autest-site/conditions.test.ext
@@ -50,8 +50,8 @@ def HasATSFeature(self, feature):
 #test if a plugin exists in the libexec folder
 def PluginExists(self, pluginname):
 
-    path = self.Variables.PLUGINDIR + "/"
-    return self.Condition(lambda: os.path.isfile(path + pluginname) == True, "The plugin: " + pluginname + " does not exist in " + path )
+    path = os.path.join(self.Variables.PLUGINDIR, pluginname)
+    return self.Condition(lambda: os.path.isfile(path) == True, path + " not found." )
 
 
 ExtendCondition(HasATSFeature)

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.

[trafficserver] 01/02: added plugin exists condition

Posted by dr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 79e3bf87e392b7ccb421c3676a8d0d8444ca70fb
Author: = <bi...@gmail.com>
AuthorDate: Thu Oct 12 18:27:14 2017 -0500

    added plugin exists condition
---
 tests/gold_tests/autest-site/conditions.test.ext | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/gold_tests/autest-site/conditions.test.ext b/tests/gold_tests/autest-site/conditions.test.ext
index ff12378..21b21c2 100644
--- a/tests/gold_tests/autest-site/conditions.test.ext
+++ b/tests/gold_tests/autest-site/conditions.test.ext
@@ -47,6 +47,14 @@ def HasATSFeature(self, feature):
         "ATS feature not enabled: {feature}".format(feature=feature)
     )
 
+#test if a plugin exists in the libexec folder
+def PluginExists(self, pluginname):
+
+    path = self.Variables.PLUGINDIR + "/"
+    return self.Condition(lambda: os.path.isfile(path + pluginname) == True, "The plugin: " + pluginname + " does not exist in " + path )
+
 
 ExtendCondition(HasATSFeature)
 ExtendCondition(HasCurlFeature)
+ExtendCondition(PluginExists)
+

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.