Skip to content

Conversation

@sylvestre
Copy link
Contributor

Should make tests/cksum/md5sum.pl pass

@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/cksum/md5sum-bsd. tests/cksum/md5sum-bsd is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/cksum/md5sum is no longer failing!
Congrats! The gnu test tests/cksum/sha1sum is no longer failing!

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/cksum/md5sum is no longer failing!
Congrats! The gnu test tests/cksum/sha1sum is no longer failing!

@sylvestre sylvestre requested a review from BenWiederhake April 19, 2024 23:46
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/cksum/md5sum is no longer failing!
Congrats! The gnu test tests/cksum/sha1sum is no longer failing!
Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/cksum/md5sum is no longer failing!
Congrats! The gnu test tests/cksum/sha1sum is no longer failing!

@sylvestre sylvestre requested a review from cakebaker April 20, 2024 16:40
Copy link
Collaborator

@BenWiederhake BenWiederhake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Two nits:

  • I guess the seq commits should have been part of a separate PR, but whatever, let's merge it.
  • The code handles singular/plural forms separately, but the tests don't check for it. Shouldn't that be tested?

.fails()
.stdout_is("sha1sum: testf: No such file or directory\ntestf: FAILED open or read\n")
.stderr_is("sha1sum: warning: 1 listed file could not be read\n");
.stderr_is("sha1sum: WARNING: 1 listed file could not be read\n");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code potentially outputs a plural form. Is that part of our guarantee to the user?

  • If yes, then it should be part of the tests.
  • If no, then the code can be deleted/simplified.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i will do it in a different PR, I have other changes pending

@sylvestre
Copy link
Contributor Author

the seq change was a mistake, I removed it

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.

3 participants