]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Skip this test if stty can't get window size.
authorJim Meyering <jim@meyering.net>
Fri, 28 Mar 2003 15:23:58 +0000 (15:23 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 28 Mar 2003 15:23:58 +0000 (15:23 +0000)
This happens when connecting to sparc-solaris2.7 via ssh from within
emacs.  Reported by Karl Berry.

tests/stty/row-col-1

index 9b72f1a64ffadc9bbbd1b6fb90ad7af6a4506e60..0ede6cb7f4f83044adeb3f588b245779a1292c60 100755 (executable)
@@ -33,7 +33,9 @@ set - $tests
 
 saved_size=.saved-size
 
-stty size > $saved_size || exit 1
+stty size > $saved_size \
+  || { echo "$0: skipping this test: can't get window size" 1>&2;
+       exit 77; exit; }
 
 fail=0
 while :; do