X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..eafc0ab02ee680ff5f9416a56f2768f564e25868:/test/whatnow/test-attach-detach diff --git a/test/whatnow/test-attach-detach b/test/whatnow/test-attach-detach index 27dcb9cd..9f308aa3 100755 --- a/test/whatnow/test-attach-detach +++ b/test/whatnow/test-attach-detach @@ -38,7 +38,7 @@ touch $expected $expectederr $actual $actualerr # set +e -whatnowtest=`echo cd | TERM=dumb run_prog whatnow -prompt ''` +whatnowtest=`echo cd | TERM=dumb whatnow -prompt ''` set -e case ${whatnowtest} in @@ -63,13 +63,12 @@ esac # whatnow's exit status is always 1 so that is not a failure set +e echo "attach $testname_quoted" | \ - TERM=dumb run_prog whatnow -attach foo -noedit -prompt '' 2>> $actualerr \ - >> $actual -echo "alist" | TERM=dumb run_prog whatnow -attach foo -noedit -prompt '' \ + 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" | \ TERM=dumb whatnow -attach foo -noedit -prompt '' 2>> $actualerr >> $actual -echo "alist" | TERM=dumb run_prog whatnow -attach foo -noedit -prompt '' \ +echo "alist" | TERM=dumb whatnow -attach foo -noedit -prompt '' \ 2>> $actualerr >> $actual set -e