diff options
author | Jim Meyering <jim@meyering.net> | 2000-06-21 09:02:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-06-21 09:02:42 +0000 |
commit | 75d9e7ca5cb07f3b6088ebb47656b85814ffa5ff (patch) | |
tree | 408bda01707cfa10e634778fe979bf7fcee1e9ec /tests/stty | |
parent | e1e0683c8209f04f51a72957a11b2b203506614a (diff) | |
download | coreutils-75d9e7ca5cb07f3b6088ebb47656b85814ffa5ff.tar.xz |
New test for that.
Diffstat (limited to 'tests/stty')
-rwxr-xr-x | tests/stty/basic-1 | 4 |
1 files changed, 4 insertions, 0 deletions
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'` |