aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/encrypted_gtube.sh
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-09 14:40:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-09 14:40:36 +0100
commitac55cd6afb896665b8d38ed00606d477c16efe97 (patch)
tree8ee263fe38570ef6007e24efc1e97079bb134792 /test/functional/cases/encrypted_gtube.sh
parent76c9863e1049b000315589cbf162977188a9e16d (diff)
downloadrspamd-ac55cd6afb896665b8d38ed00606d477c16efe97.tar.gz
rspamd-ac55cd6afb896665b8d38ed00606d477c16efe97.zip
New functional tests approach.
Diffstat (limited to 'test/functional/cases/encrypted_gtube.sh')
-rw-r--r--test/functional/cases/encrypted_gtube.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/functional/cases/encrypted_gtube.sh b/test/functional/cases/encrypted_gtube.sh
new file mode 100644
index 000000000..9b5ff27e6
--- /dev/null
+++ b/test/functional/cases/encrypted_gtube.sh
@@ -0,0 +1,9 @@
+# Test rspamd encrypted using gtube
+
+. ${TEST_DIRNAME}/functions.sh
+
+export RSPAMD_CONFIG="$TEST_DIRNAME/configs/trivial.conf"
+run_rspamd
+run_rspamc symbols --key y3ms1knmetxf8gdeixkf74b6tbpxqugmxzqksnjodiqei7tksyty \
+ "$TEST_DIRNAME/messages/gtube.eml"
+check_output "$output" 'Action: reject' \ No newline at end of file