X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/890b8f85af32f51ef1035cf24b0d41cb561d6f91..26c2b1ef1709cd7b34fe3e78995768a369e0f116:/test/whatnow/test-attach-detach diff --git a/test/whatnow/test-attach-detach b/test/whatnow/test-attach-detach index 3181f21b..ba22a19c 100755 --- a/test/whatnow/test-attach-detach +++ b/test/whatnow/test-attach-detach @@ -68,13 +68,13 @@ esac # whatnow's exit status is always 1 so that is not a failure set +e echo "attach $testname_quoted" | \ - run_prog whatnow -attach foo -noedit -prompt '' 2>>$actualerr >>$actual + run_prog whatnow -noedit -prompt '' 2>>$actualerr >>$actual echo "alist" | \ - run_prog whatnow -attach foo -noedit -prompt '' 2>>$actualerr >>$actual + run_prog whatnow -noedit -prompt '' 2>>$actualerr >>$actual echo "detach $testname_quoted" | \ - run_prog whatnow -attach foo -noedit -prompt '' 2>>$actualerr >>$actual + run_prog whatnow -noedit -prompt '' 2>>$actualerr >>$actual echo "alist" | \ - run_prog whatnow -attach foo -noedit -prompt '' 2>>$actualerr >>$actual + run_prog whatnow -noedit -prompt '' 2>>$actualerr >>$actual set -e check "$expectederr" "$actualerr" @@ -84,7 +84,7 @@ if [ "$readline" = 0 ]; then cat >"$expected" < [context]{attachment} ${MH_TEST_DIR}/Mail/context +Attaching ${MH_TEST_DIR}/Mail/context as a text/plain EOF else cat >"$expected" < [context]{attachment} ${MH_TEST_DIR}/Mail/context +Attaching ${MH_TEST_DIR}/Mail/context as a text/plain quit -delete EOF fi