]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Fix paths 767/head
authorAndrew Lewis <nerf@judo.za.org>
Thu, 28 Jul 2016 12:39:47 +0000 (13:39 +0100)
committerAndrew Lewis <nerf@judo.za.org>
Thu, 28 Jul 2016 12:39:47 +0000 (13:39 +0100)
test/functional/lib/rspamd.py

index 48716f6cf99a1178efb32a5c7eb26f4cce660354..3556a4b58d17c0745680b219cc24f0e79366541d 100644 (file)
@@ -43,23 +43,23 @@ def get_top_dir():
     if os.environ.get('RSPAMD_TOPDIR'):
         return os.environ['RSPAMD_TOPDIR']
 
-    return get_test_directory() + "../../"
+    return get_test_directory() + "/../../"
 
 def get_rspamd():
     if os.environ.get('RSPAMD'):
         return os.environ['RSPAMD']
     dname = get_top_dir()
-    return dname + "src/rspamd"
+    return dname + "/src/rspamd"
 def get_rspamc():
     if os.environ.get('RSPAMC'):
         return os.environ['RSPAMC']
     dname = get_top_dir()
-    return dname + "src/client/rspamc"
+    return dname + "/src/client/rspamc"
 def get_rspamadm():
     if os.environ.get('RSPAMADM'):
         return environ['RSPAMADM']
     dname = get_top_dir()
-    return dname + "src/rspamadm/rspamadm"
+    return dname + "/src/rspamadm/rspamadm"
 
 def make_temporary_directory():
     return tempfile.mkdtemp()