Skip to content

chown: restrict no-dereference symlink ctime test to Linux#12556

Open
rossilor95 wants to merge 1 commit into
uutils:mainfrom
rossilor95:fix-test-chown-no-recursive-ln-dir
Open

chown: restrict no-dereference symlink ctime test to Linux#12556
rossilor95 wants to merge 1 commit into
uutils:mainfrom
rossilor95:fix-test-chown-no-recursive-ln-dir

Conversation

@rossilor95
Copy link
Copy Markdown
Contributor

Fixes #12546

test_chown_no_dereference_symlink_to_dir fails on OpenBSD CI.

The test chowns a symlink to its current owner (a no-op) and asserts the
symlink's ctime advanced. Linux bumps ctime on a same-owner chown;
while OpenBSD doesn't, so the test fails.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

GNU testsuite comparison:

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

@rossilor95 rossilor95 force-pushed the fix-test-chown-no-recursive-ln-dir branch from af8b172 to 3ca9ee0 Compare June 1, 2026 14:17

#[test]
#[cfg(unix)]
#[cfg(target_os = "linux")]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think we want not OpenBSD as unix implies mac and it works there

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.

openbsd: test_chown_no_dereference_symlink_to_dir failure

2 participants