Skip to content

tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match#4304

Merged
tertsdiepraam merged 2 commits intouutils:mainfrom
Joining7943:tests-util-cmdresult-do-not-trim-output
Feb 16, 2023
Merged

tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match#4304
tertsdiepraam merged 2 commits intouutils:mainfrom
Joining7943:tests-util-cmdresult-do-not-trim-output

Conversation

@Joining7943
Copy link
Copy Markdown
Contributor

Like discussed in #4261, this pr removes the trimming of the stdout in CmdResult::stdout_matches and CmdResult::stdout_does_not_match.

The tests using these methdos are adjusted to match the trailing newline instead of ignoring it.

@Joining7943 Joining7943 force-pushed the tests-util-cmdresult-do-not-trim-output branch from f7aa788 to f535b38 Compare January 27, 2023 23:48
…_does_not_match. Fix tests.

The tests are fixed to match the trailing newline instead of ignoring it.
@Joining7943 Joining7943 force-pushed the tests-util-cmdresult-do-not-trim-output branch from f535b38 to bbc25a0 Compare January 28, 2023 05:39
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/tail-2/inotify-dir-recreate is no longer failing!

@tertsdiepraam tertsdiepraam merged commit f610f33 into uutils:main Feb 16, 2023
@Joining7943 Joining7943 deleted the tests-util-cmdresult-do-not-trim-output branch February 16, 2023 14:37
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