summaryrefslogtreecommitdiff
path: root/tests/email-print-mime-structure.sh
blob: 5efa2ca10c37c93beea216ea3adceae2eb3115bf (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

set -e

for eml in tests/email-print-mime-structure/*.eml; do
    printf "Testing %s\n" "${eml##*/}"
    diff -u "${eml%%.eml}.out" <(./email-print-mime-structure < "$eml")
done