From 75d9e7ca5cb07f3b6088ebb47656b85814ffa5ff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 21 Jun 2000 09:02:42 +0000 Subject: New test for that. --- tests/stty/basic-1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/stty/basic-1 b/tests/stty/basic-1 index b2c8d5a7c..ba7dfabe2 100755 --- a/tests/stty/basic-1 +++ b/tests/stty/basic-1 @@ -24,10 +24,14 @@ REV_oddp=1 REV_nl=1 REV_cooked=1 REV_raw=1 REV_pass8=1 REV_litout=1 REV_cbreak=1 REV_decctlq=1 REV_tabs=1 REV_lcase=1 REV_LCASE=1 fail=0 + saved_state=.saved-state stty --save > $saved_state || fail=1 stty `cat $saved_state` || fail=1 +# This would segfault prior to sh-utils-2.0j. +stty erase - + # Build a list of all boolean options stty accepts on this system. options=`stty -a|tail +2|tr ';' '\012'|sed '/ = /d;s/^ //;s/-//g'` -- cgit v1.2.3-70-g09d2