blob: bcf718f7ffd835270580dd4751e0406c424255f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Test rspamd symbol dependencies
. ${TEST_DIRNAME}/functions.sh
sed -e 's|@@LUA_SCRIPT@@|${TESTDIR}/cases/deps.lua|' < \
"$TEST_DIRNAME/configs/lua_test.conf" > \
"$TMPDIR/rspamd.conf"
export RSPAMD_CONFIG="$TMPDIR/rspamd.conf" \
STATSDIR=${TMPDIR}
run_rspamd
run_rspamc symbols \
"$TEST_DIRNAME/messages/spam_message.eml"
check_output 'DEP10'
|