diff --git a/src/cmd/ksh93/tests/pty.sh b/src/cmd/ksh93/tests/pty.sh index 71eaef5bd..1ccf523d7 100755 --- a/src/cmd/ksh93/tests/pty.sh +++ b/src/cmd/ksh93/tests/pty.sh @@ -19,6 +19,13 @@ ######################################################################## : : generated by mkptytests from "posix-sh-*-c.pty" : : +# These are tests for the interactive shell, run in a pseudoterminal utility +# called 'pty', which allows for scripting interactive sessions and which is +# installed in arch/*/bin while building. To understand these tests, first +# read the pty manual by running: arch/*/bin/pty --man + +# The # err_exit # comments are to enable shtests to count the tests. + # the trickiest part of the tests is avoiding typeahead # in the pty dialogue @@ -363,7 +370,7 @@ r history ! # err_exit # -tst $LINENO <<"!" +TMPDIR=/tmp tst $LINENO <<"!" L POSIX sh 137(C) # If the User Portability Utilities Option is supported and shell