diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-07 17:17:02 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-07 17:17:02 +0100 |
commit | 2f0242ea7ebfbd3724dd3c066711e5ce4119ceca (patch) | |
tree | cf9b24ea2dec9a77438f21ee362a0ecd033f256b /test/functional/cases/scan_file.sh | |
parent | b1010a85f1c0866910b6d1d3645c345ba58b6dab (diff) | |
download | rspamd-2f0242ea7ebfbd3724dd3c066711e5ce4119ceca.tar.gz rspamd-2f0242ea7ebfbd3724dd3c066711e5ce4119ceca.zip |
Fix scan file functional test.
Diffstat (limited to 'test/functional/cases/scan_file.sh')
-rw-r--r-- | test/functional/cases/scan_file.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/functional/cases/scan_file.sh b/test/functional/cases/scan_file.sh index 1a0606785..107d335e4 100644 --- a/test/functional/cases/scan_file.sh +++ b/test/functional/cases/scan_file.sh @@ -4,9 +4,6 @@ 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' @@ -18,8 +15,6 @@ check_output 'GTUBE' # Hex encode every character _hex_name=`printf "$TEST_DIRNAME/messages/gtube.eml" | hexdump -v -e '/1 "%02x"' | sed 's/\(..\)/%\1/g'` -run perl "$TEST_DIRNAME/cases/scan_file.pl" "${_hex_name}" -check_output 'GTUBE' run perl "$TEST_DIRNAME/cases/scan_file.pl" "file=${_hex_name}" check_output 'GTUBE' |