Skip to content

Conversation

willshuttleworth
Copy link
Contributor

@willshuttleworth willshuttleworth commented Jun 9, 2025

fixes #8134. adds a new way to set a control character to undefined, eg stty intr '', which disables the interrupt signal control character.

Copy link

github-actions bot commented Jun 9, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre
Copy link
Contributor

is it possible to test this ?
thanks

@willshuttleworth
Copy link
Contributor Author

@sylvestre i added some new tests, many of which must be ignored as we cannot test for success in the ci because it does not have a tty. currently, we can only check for failure due to incorrect arguments that are parsed prior to any termios calls.

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

@sylvestre sylvestre merged commit 01ac6df into uutils:main Jun 16, 2025
75 checks passed
@willshuttleworth willshuttleworth deleted the stty-set-undefined branch June 16, 2025 14:23
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.

stty: cannot set control chars to undefined with an empty string literal
2 participants