summaryrefslogtreecommitdiffstats
path: root/test/functional/cases/symbol_depends.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/symbol_depends.sh')
-rw-r--r--test/functional/cases/symbol_depends.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/cases/symbol_depends.sh b/test/functional/cases/symbol_depends.sh
index 5bc6941c3..bcf718f7f 100644
--- a/test/functional/cases/symbol_depends.sh
+++ b/test/functional/cases/symbol_depends.sh
@@ -2,7 +2,7 @@
. ${TEST_DIRNAME}/functions.sh
-sed -e 's|@@LUA_SCRIPT@@|${CURDIR}/functional/cases/deps.lua|' < \
+sed -e 's|@@LUA_SCRIPT@@|${TESTDIR}/cases/deps.lua|' < \
"$TEST_DIRNAME/configs/lua_test.conf" > \
"$TMPDIR/rspamd.conf"
export RSPAMD_CONFIG="$TMPDIR/rspamd.conf" \
@@ -10,5 +10,5 @@ export RSPAMD_CONFIG="$TMPDIR/rspamd.conf" \
run_rspamd
run_rspamc symbols \
- "$BATS_TEST_DIRNAME/messages/spam_message.eml"
-check_output $output 'DEP10' \ No newline at end of file
+ "$TEST_DIRNAME/messages/spam_message.eml"
+check_output 'DEP10' \ No newline at end of file