]> diplodocus.org Git - nmh/blobdiff - test/whatnow/test-attach-detach
Removed remaining run_prog's from tests that set an
[nmh] / test / whatnow / test-attach-detach
index 27dcb9cdd6f62b7a9aeb400aac58bcc9c719e558..9f308aa322aeac809ebde91f3f3e386ca3f1dff0 100755 (executable)
@@ -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