X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Fwhatnow%2Ftest-attach-detach;h=fe5785cda34ab8c5f32a3b0aa3d9a7e67ad841ac;hb=87e2eacc63f1ecc60d58a01921cdcf8b1aa55171;hp=3ac5f3b99f782ef9a9a698e1cb203e94e4a66b05;hpb=c915e11a95bdfb6157eecc81c5df82de65c86796;p=mmh diff --git a/test/whatnow/test-attach-detach b/test/whatnow/test-attach-detach index 3ac5f3b..fe5785c 100755 --- a/test/whatnow/test-attach-detach +++ b/test/whatnow/test-attach-detach @@ -32,18 +32,44 @@ actual=$MH_TEST_DIR/$$.actual rm -f $expected $expectederr $actual $actualerr touch $expected $expectederr $actual $actualerr -cat > $expected < "$expected" < "$expected" <> $actualerr >> $actual -echo "alist" | whatnow -attach foo -noedit -prompt '' 2>> $actualerr >> $actual + TERM=dumb whatnow -attach foo -noedit -prompt '' 2>> $actualerr >> $actual +echo "alist" | TERM=dumb whatnow -attach foo -noedit -prompt '' \ + 2>> $actualerr >> $actual echo "detach $testname_quoted" | \ - whatnow -attach foo -noedit -prompt '' 2>> $actualerr >> $actual -echo "alist" | whatnow -attach foo -noedit -prompt '' 2>> $actualerr >> $actual + TERM=dumb whatnow -attach foo -noedit -prompt '' 2>> $actualerr >> $actual +echo "alist" | TERM=dumb whatnow -attach foo -noedit -prompt '' \ + 2>> $actualerr >> $actual set -e check "$expectederr" "$actualerr"