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: = <bill.j....@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" <commits@trafficserver.apache.org>.

Reply via email to