coreutils
coreutils copied to clipboard
`tests/util`: Don't trim output in `CmdResult::stdout_matches` and `stdout_does_not_match`
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.
GNU testsuite comparison:
Congrats! The gnu test tests/tail-2/inotify-dir-recreate is no longer failing!