coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

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

Open Joining7943 opened this issue 2 years ago • 1 comments

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 avatar Jan 27 '23 19:01 Joining7943

GNU testsuite comparison:

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

github-actions[bot] avatar Jan 28 '23 06:01 github-actions[bot]