X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=test%2Ftest_all;h=a00ba268c90d301760db8047c3a40ec34b90a77a;hb=779e307770431e065050edd6634c49fa2e319df0;hp=3de6ec74fb0daf91ff740250d7d3a1c261693640;hpb=8bd291ec4b0e8ae1a981194ccc9b4d0388ec2cea;p=mimedecode.git diff --git a/test/test_all b/test/test_all index 3de6ec7..a00ba26 100755 --- a/test/test_all +++ b/test/test_all @@ -39,8 +39,20 @@ 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.txt -P -p Content-Type,Content-Disposition:name,filename +test_file msg_22.txt msg_22.txt -P -p \*:name,filename +test_file msg_22.txt msg_22.txt -P -p Content-Type,Content-Disposition:\* +test_file msg_22.txt msg_22.txt -P -p '*,-Content-Id:*,-x-mac-type' +test_file msg_22.txt msg_22-1.txt -r content-id +test_file msg_16.txt msg_16-1.txt -r Received,List-Help,List-Post,List-Subscribe,List-Id,List-Unsubscribe,List-Archive +test_file msg_16.txt msg_16-2.txt -r \*,-mime-version,-content-type +test_file msg_29.txt msg_29-1.txt -R Content-Type:title +test_file msg_18.txt msg_18-1.txt -R X-Foobar-Spoink-Defrobnit:\* if [ "$RC" -eq 0 ]; then echo "All tests passed!"