diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-11-25 08:10:35 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-11-25 08:10:35 -0700 |
commit | de4194716f4cfbc101eea3cbc004eb589be977a7 (patch) | |
tree | 72ffa69f88d1a8ee90cd15f0b2d6d24779ed212b | |
parent | 455e1edf27ab0eacdd3d6a31eeca37e301cbd616 (diff) | |
download | mailscripts-de4194716f4cfbc101eea3cbc004eb589be977a7.tar.gz |
normalise redirects
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rwxr-xr-x | tests/email-print-mime-structure.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/email-print-mime-structure.sh b/tests/email-print-mime-structure.sh index d3d8b0c..0b70d73 100755 --- a/tests/email-print-mime-structure.sh +++ b/tests/email-print-mime-structure.sh @@ -5,7 +5,7 @@ set -e test_eml() { message="$1" shift - diff -u "$message.out" <(./email-print-mime-structure "$@" < "$message.eml") + diff -u "$message.out" <(./email-print-mime-structure "$@" <"$message.eml") } for eml in tests/email-print-mime-structure/*.eml; do @@ -17,7 +17,7 @@ for eml in tests/email-print-mime-structure/*.eml; do testgpghome=$(mktemp -d) printf "Testing %s (GnuPG)\n" "${eml##*/}" - gpg --homedir="$testgpghome" --batch --quiet --import < "$pgpkey" + gpg --homedir="$testgpghome" --batch --quiet --import <"$pgpkey" GNUPGHOME="$testgpghome" test_eml "$base" --use-gpg-agent rm -rf "$testgpghome" else |