aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/encrypted_gtube.sh
diff options
context:
space:
mode:
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