mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-12 06:57:33 +02:00
.
This commit is contained in:
16
tests/stty/simple-1
Executable file
16
tests/stty/simple-1
Executable file
@@ -0,0 +1,16 @@
|
||||
#! /bin/sh
|
||||
# Make sure stty can parse most of its options.
|
||||
|
||||
: ${STTY=stty}
|
||||
|
||||
if test "$VERBOSE" = yes; then
|
||||
set -x
|
||||
$RM --version
|
||||
fi
|
||||
|
||||
saved_state=.saved-state
|
||||
$STTY --save > $saved_state || exit 1
|
||||
trap "status=$?; echo here; $STTY `cat $saved_state`; exit $status" 0 1 2 3 15
|
||||
$STTY `cat $saved_state` || exit 1
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user