left_binary = False
for content_type in masks:
- if content_type in g.binary_mask:
+ if content_type in g.totext_mask or \
+ content_type in g.decoded_binary_mask:
+ break
+ elif content_type in g.binary_mask:
left_binary = True
break
test_file msg_02.txt msg_02-1.txt --set-param=X-Mailer:test=set
test_file msg_02.txt msg_02-1.txt --set-param=X-Mailer:test:set
test_file msg_13.txt msg_13-1.txt -B '*/*'
+test_file msg_13.txt msg_13.txt -t 'text/*' -b 'image/*' -B '*/*'
if [ "$RC" -eq 0 ]; then
echo "All tests passed!"