-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD: pty.sh fail: POSIX sh 101(C) #44
Comments
The test always fails in vi mode or when there isn't an editing mode enabled, but it will pass in emacs mode. Placing the following line at the start of the regression test allows it to pass:
Replacing |
The regression test that fails is testing the escaping backslash feature (see ksh-community/ksh#8 (comment) for what it does). If escaping backslashes are disabled with a patch (like the one appended below) the test will always fail on Linux. |
Thanks, @JohnoKing, for figuring out what that test does exactly. Just found this. After doing
on the real terminal from which you're running the regression tests, this regression test failure (and another one that was introduced in a0dcdee) goes away on FreeBSD. The regression test itself already issues that command, but apparently, FreeBSD's stty does not work correctly on a pty pseudoterminal… |
On this system:
The following regression test failure occurs:
The test in question:
ksh/src/cmd/ksh93/tests/pty.sh
Lines 291 to 333 in f811482
The text was updated successfully, but these errors were encountered: