]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
New test for that.
authorJim Meyering <jim@meyering.net>
Wed, 21 Jun 2000 09:02:42 +0000 (09:02 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 21 Jun 2000 09:02:42 +0000 (09:02 +0000)
tests/stty/basic-1

index b2c8d5a7c060a2ae032ca3652f9deda0f9594437..ba7dfabe2fc936c3f7be832103f8028a7e6244dd 100755 (executable)
@@ -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'`