Skip to content

more: fix two incorrect tests#6104

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:more_fix_incorrect_tests
Mar 23, 2024
Merged

more: fix two incorrect tests#6104
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:more_fix_incorrect_tests

Conversation

@cakebaker
Copy link
Copy Markdown
Contributor

This PR fixes two tests I think are incorrect. It's possible I'm missing something as I don't understand why they test a different code branch than is used when running more manually. For example, running cargo run more fails as expected. However, the corresponding test, test_more_no_arg, ensures it doesn't fail with no arguments. For the fix, I merged the two code branches.

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

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

@sylvestre sylvestre merged commit fa1850c into uutils:main Mar 23, 2024
@cakebaker cakebaker deleted the more_fix_incorrect_tests branch March 23, 2024 12:34
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