]> git.phdru.name Git - mimedecode.git/blobdiff - test/test_all
Change option -p to accept lists
[mimedecode.git] / test / test_all
index 19198b1b28831306312134b0927bddc92fc53efb..f61c63a9ddc74f99e44fcff99f41f713fab5bf80 100755 (executable)
@@ -39,9 +39,15 @@ for f in input/*.txt; do
    test_file "$n" "$n"
 done
 
+test_file msg_03.txt msg_03-1.txt -D -d From,To,Subject
+test_file msg_03.txt msg_03-1.txt -d '*,-cc'
+test_file msg_03.txt msg_03-1.txt -d \*,From,To,Subject,-cc
 test_file msg_15.txt msg_15-1.txt -b text/html
 test_file msg_15.txt msg_15-2.txt -i text/html
 test_file msg_22.txt msg_22-1.txt -r content-id
+test_file msg_29.txt msg_29-1.txt -R Content-Type:title
+test_file msg_18.txt msg_18-1.txt --remove-params=X-Foobar-Spoink-Defrobnit
+test_file msg_22.txt msg_22.txt -P -p Content-Type,Content-Disposition:name,filename
 
 if [ "$RC" -eq 0 ]; then
    echo "All tests passed!"