aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-08-16 13:30:23 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-08-16 13:30:23 +0200
commit5124bd8ae13ffbee3110242167f1a19e94a74d67 (patch)
tree2658d9894c6ea34fb9bc15739fb07497f6ff7569 /test/functional
parent5cf3a74fbd1d0ba0c59d50bfec91777fe4853dd2 (diff)
downloadrspamd-5124bd8ae13ffbee3110242167f1a19e94a74d67.tar.gz
rspamd-5124bd8ae13ffbee3110242167f1a19e94a74d67.zip
[Test] Use out of tree build for tests/code coverage
- Also a loosely-related fix for test library
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/lib/rspamd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lib/rspamd.py b/test/functional/lib/rspamd.py
index d45faa794..31e79b095 100644
--- a/test/functional/lib/rspamd.py
+++ b/test/functional/lib/rspamd.py
@@ -56,7 +56,7 @@ def get_rspamc():
return dname + "/src/client/rspamc"
def get_rspamadm():
if os.environ.get('RSPAMADM'):
- return environ['RSPAMADM']
+ return os.environ['RSPAMADM']
dname = get_top_dir()
return dname + "/src/rspamadm/rspamadm"