Skip to content

Conversation

@ChrisDryden
Copy link
Contributor

@ChrisDryden ChrisDryden commented Nov 23, 2025

Now that we have the PR for enabling the stty tests in Github actions, have set up the integration testing for stty and have a working PR that when combined passes all of the GNU tests #9427, I am splitting up all of the different components of that PR and adding integration tests for each of the changes.

The change that would allow these tests to run the stty GNU tests is this one: #9336

This change specifically focuses on what is a valid baud value and the very specific parsing rules that are added in stty.

Stty has very specific rounding rules for backwards compatibility to do bankers rounding except for the value of .5 which rounds to the nearest even integer. It also has very specific rules related to things such as +, -, spaces. All of the values used in the GNU integration tests are added now to the test_stty.rs file

@ChrisDryden ChrisDryden marked this pull request as draft November 23, 2025 05:50
@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/overlay-headers (passes in this run but fails in the 'main' branch)

@github-actions
Copy link

GNU testsuite comparison:

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

@ChrisDryden ChrisDryden marked this pull request as ready for review November 23, 2025 13:47
@ChrisDryden ChrisDryden changed the title stty baud parsing stty: baud parsing integration tests and validation Nov 23, 2025
@cakebaker cakebaker merged commit 6a2b972 into uutils:main Nov 24, 2025
127 checks passed
@cakebaker
Copy link
Contributor

Thanks!

martinkunkel2 pushed a commit to martinkunkel2/coreutils that referenced this pull request Nov 30, 2025
* Adding comprehensive gnu suite baud parsing rules

* Adding missing spellcheck words

* Fixed clippy errors and simplified rounding logic
martinkunkel2 pushed a commit to martinkunkel2/coreutils that referenced this pull request Nov 30, 2025
* Adding comprehensive gnu suite baud parsing rules

* Adding missing spellcheck words

* Fixed clippy errors and simplified rounding logic
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