]> diplodocus.org Git - nmh/blobdiff - test/install-mh/test-version-check
Tweaked formatting of welcome message.
[nmh] / test / install-mh / test-version-check
index a336f5d..2f26e5a 100755 (executable)
@@ -17,11 +17,9 @@ fi
 
 setup_test
 
-# ???? debug
-test -t 0  &&  echo stdin connected  ||  echo stdin not connected
-test -t 1  &&  echo stdout connected  ||  echo stdout not connected
-test -t 2  &&  echo stderr connected  ||  echo stderr not connected
-# ???? debug
+if test ! -t 0 || test ! -t 1 || test ! -t 2; then
+    test_skip 'must be connected to terminal'
+fi
 
 require_prog script
 #### Use minimal arguments to script(1), i.e., just the file in