From de4194716f4cfbc101eea3cbc004eb589be977a7 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 25 Nov 2019 08:10:35 -0700 Subject: normalise redirects Signed-off-by: Sean Whitton --- tests/email-print-mime-structure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3