From 5e8abb3891fad0cbc0ffcfc260b27c3aad1c03a0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 28 Mar 2003 15:23:58 +0000 Subject: 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. --- tests/stty/row-col-1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/stty/row-col-1 b/tests/stty/row-col-1 index 9b72f1a64..0ede6cb7f 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 -- cgit v1.2.3-70-g09d2