projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6afbb1
)
.
author
Jim Meyering
<jim@meyering.net>
Tue, 11 Aug 1998 17:30:46 +0000
(17:30 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 11 Aug 1998 17:30:46 +0000
(17:30 +0000)
tests/stty/simple-1
[new file with mode: 0755]
patch
|
blob
diff --git a/tests/stty/simple-1
b/tests/stty/simple-1
new file mode 100755
(executable)
index 0000000..
0dcd027
--- /dev/null
+++ b/
tests/stty/simple-1
@@ -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