coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

Different versions of GNU coreutils on different platforms in integration tests

Open ChrisDryden opened this issue 3 weeks ago • 7 comments

I've been adding tests to compare the output and status code of the GNU stty implementation with the uutils implementation and I'm finding that on some platforms like: https://github.com/uutils/coreutils/actions/runs/19864908355/job/56925109034?pr=9517 the version of coreutils is 8.30 where this issue is not fixed yet and it makes it difficult to make tests to compare to the latest version of GNU since there's different versions on different instances

https://github.com/uutils/coreutils/pull/9517#issuecomment-3605117069

ChrisDryden avatar Dec 03 '25 05:12 ChrisDryden

#9550 ? I think running any GNU version on this CI is difficult.

oech3 avatar Dec 03 '25 07:12 oech3

In general our compatibility integration tests should be targeting the latest coreutils right? https://github.com/uutils/coreutils/pull/9570 I added this to one of the CI's specifically for the stty test but I think in general the goal should be doing this in more tests as we add more of those compatibility tests?

ChrisDryden avatar Dec 05 '25 18:12 ChrisDryden

we are aiming at supporting the last stable version

sylvestre avatar Dec 05 '25 18:12 sylvestre

https://github.com/uutils/coreutils/issues/9547#issuecomment-3618110019 How about auto-commit-bump bot something like renovate?

oech3 avatar Dec 05 '25 18:12 oech3

it happens rarely enough that i don't think we need to automate that

sylvestre avatar Dec 05 '25 19:12 sylvestre

i'm interested in all GNU commits changing tests.

oech3 avatar Dec 05 '25 19:12 oech3

i don't think we need this for now:

  • we still have plenty of issues to fix
  • it is a moving target
  • we don't need to move fast here

sylvestre avatar Dec 05 '25 19:12 sylvestre