Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lcheylus
Copy link
Contributor

@lcheylus lcheylus commented Nov 6, 2025

In PR #8483 (add feat_systemd_logind feature), job test in FreeBSD workflow was modified to disable tests for feat_systemd_logind feature (not supported on FreeBSD). But the cargo metadata command is wrong => -p uucore does not exist.

UUCORE_FEATURES=\$(cargo metadata --format-version=1 --no-deps -p uucore | jq -r '.packages[] | select(.name == "uucore") | .features | keys | .[]' | grep -v "feat_systemd_logind" | paste -s -d "," -)

There are some errors when running test job in FreeBSD workflow (but not trapped by the shell script). For example in this run of FreeBSD workflow (https://github.com/uutils/coreutils/actions/runs/19094908884/job/54553168173#step:5:8891):

 error: unexpected argument '-p' found

Fix in .github/workflows/freebsd.yml: remove wrong flag -p uucore for cargo metadata command to get features.

Tests OK => see this run in my personal fork, https://github.com/lcheylus/rust-coreutils/actions/runs/19126450509

Remove wrong flag '-p uucore' for 'cargo metadata' command to get features.

Signed-off-by: Laurent Cheylus <[email protected]>
@lcheylus lcheylus changed the title Fix tests job in FreeBSD workflow Fix test job in FreeBSD workflow Nov 6, 2025
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

GNU testsuite comparison:

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

@cakebaker cakebaker merged commit c9e110a into uutils:main Nov 6, 2025
121 checks passed
@cakebaker
Copy link
Contributor

Good catch, thanks!

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