1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-12 06:57:33 +02:00
This commit is contained in:
Jim Meyering
1998-08-11 17:30:46 +00:00
parent c6afbb198c
commit b9ca4fe720

16
tests/stty/simple-1 Executable file
View 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