Skip to content

cp: fix fail-perm GNU test adaptation#12119

Merged
cakebaker merged 1 commit into
uutils:mainfrom
karanabe:fix/gnu-tests-cp-fail-perm
May 2, 2026
Merged

cp: fix fail-perm GNU test adaptation#12119
cakebaker merged 1 commit into
uutils:mainfrom
karanabe:fix/gnu-tests-cp-fail-perm

Conversation

@karanabe
Copy link
Copy Markdown
Contributor

@karanabe karanabe commented May 2, 2026

GNU 9.11 changed tests/cp/fail-perm.sh to use $EACCES in the expected diagnostics, so our existing replacement no longer matched.

This updates the existing replacement to match the full diagnostic line instead.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

GNU testsuite comparison:

Congrats! The gnu test tests/cp/fail-perm is no longer failing!
Note: The gnu test tests/cut/bounded-memory is now being skipped but was previously passing.

GNU coreutils 9.11 changed fail-perm.sh to use the EACCES helper
in the expected diagnostics. Match the full diagnostic line so the
existing uutils message adaptation still applies.
@karanabe karanabe force-pushed the fix/gnu-tests-cp-fail-perm branch from 74939f4 to e4f745b Compare May 2, 2026 08:17
@cakebaker cakebaker merged commit 37ac49e into uutils:main May 2, 2026
163 of 168 checks passed
@cakebaker
Copy link
Copy Markdown
Contributor

Congrats! The gnu test tests/cp/fail-perm is no longer failing!

Kudos, thanks!

@karanabe karanabe deleted the fix/gnu-tests-cp-fail-perm branch May 3, 2026 08:40
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