Skip to content
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

Readd fixed versions of unused pty regression tests #726

Merged
merged 6 commits into from
Mar 23, 2024

Conversation

JohnoKing
Copy link

These are fixed versions of two unused pty regression tests I intended to submit a week ago, but forgot about.

src/cmd/ksh93/tests/pty.sh:
- Fix test for ksh93#722 by checking for 'Exit status 0' with 'u'.
  As far as I can tell this fixes the CI failure while still catching
  the crash on bugged commits.
- Add a fixed version of the previously unused regression test from
  ksh93#356. Avoiding the CPU hungry lockup only requires spawning a child
  interactive shell for the crash to occur inside of. (This doesn't
  fix the underlying bug in pty, but merely works around it.)
@McDutchie McDutchie merged commit 5e3a169 into ksh93:dev Mar 23, 2024
@JohnoKing JohnoKing deleted the fix-pty-tests branch March 23, 2024 01:37
McDutchie pushed a commit that referenced this pull request Mar 23, 2024
src/cmd/ksh93/tests/pty.sh:
- Fix test for #722 by checking for 'Exit status 0' with 'u'. As
  far as I can tell this fixes the CI failure while still catching
  the crash on bugged commits.
- Add a fixed version of the previously unused regression test from
  #356. Avoiding the CPU hungry lockup only requires spawning a
  child interactive shell for the crash to occur inside of. (This
  doesn't fix the underlying bug in pty, but merely works around
  it.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants