]> diplodocus.org Git - nmh/blobdiff - test/install-mh/test-version-check
Disable test-version-check, again, when not connected to terminal.
[nmh] / test / install-mh / test-version-check
index def3cda465b77e7c9aefda23389dfc4019da92a6..2f26e5af6f1ded3dcfe00e235b096b0ed5cb131f 100755 (executable)
@@ -17,6 +17,10 @@ fi
 
 setup_test
 
+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
 #### which to save the output.  We do pipe input to script, which is