From: Jim Meyering Date: Fri, 28 Mar 2003 15:23:58 +0000 (+0000) Subject: Skip this test if stty can't get window size. X-Git-Tag: v4.5.12~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e8abb3891fad0cbc0ffcfc260b27c3aad1c03a0;p=thirdparty%2Fcoreutils.git Skip this test if stty can't get window size. This happens when connecting to sparc-solaris2.7 via ssh from within emacs. Reported by Karl Berry. --- diff --git a/tests/stty/row-col-1 b/tests/stty/row-col-1 index 9b72f1a64f..0ede6cb7f4 100755 --- a/tests/stty/row-col-1 +++ b/tests/stty/row-col-1 @@ -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