diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-11 21:58:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-11 21:58:32 +0100 |
commit | 3ff2ccae3db08913bccfc0fd5c0ad98aaffca642 (patch) | |
tree | d323b8b9b4c64fe1d8decbefe9ef43abe48e0a82 /test | |
parent | c24c45386f95fe1f8fd0f68c1734d292c63b9969 (diff) | |
download | rspamd-3ff2ccae3db08913bccfc0fd5c0ad98aaffca642.tar.gz rspamd-3ff2ccae3db08913bccfc0fd5c0ad98aaffca642.zip |
Allow query parameters for files.
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/scan_file.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/cases/scan_file.sh b/test/functional/cases/scan_file.sh index b4ec293b4..63626cae6 100644 --- a/test/functional/cases/scan_file.sh +++ b/test/functional/cases/scan_file.sh @@ -5,4 +5,10 @@ export RSPAMD_CONFIG="$TEST_DIRNAME/configs/trivial.conf" run_rspamd run perl "$TEST_DIRNAME/cases/scan_file.pl" "$TEST_DIRNAME/messages/gtube.eml" +check_output 'GTUBE' + +run perl "$TEST_DIRNAME/cases/scan_file.pl" "file=$TEST_DIRNAME/messages/gtube.eml" +check_output 'GTUBE' + +run perl "$TEST_DIRNAME/cases/scan_file.pl" "path=$TEST_DIRNAME/messages/gtube.eml" check_output 'GTUBE'
\ No newline at end of file |