diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-28 15:22:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-28 15:22:28 +0100 |
commit | 1cce1f1e6d1b21c40612f98f25d84d33ccd4fcde (patch) | |
tree | 0e67591f7e60b9a6f19c74bb058f5ad70db3a8b5 /test/functional | |
parent | 627f05a8295ed9ae872a683b3b162431aaf7f23c (diff) | |
parent | 550442648d3fdb3162172f647ff5493ee06f1930 (diff) | |
download | rspamd-1cce1f1e6d1b21c40612f98f25d84d33ccd4fcde.tar.gz rspamd-1cce1f1e6d1b21c40612f98f25d84d33ccd4fcde.zip |
Merge pull request #767 from fatalbanana/robot
[Test] Fix paths
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/lib/rspamd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/lib/rspamd.py b/test/functional/lib/rspamd.py index 48716f6cf..3556a4b58 100644 --- a/test/functional/lib/rspamd.py +++ b/test/functional/lib/rspamd.py @@ -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() |