Skip to content

uutests: preserve PATH in UCommand to fix NixOS test failures#10959

Merged
cakebaker merged 1 commit intouutils:mainfrom
0xMillyByte:fix/test-preserve-path
Feb 16, 2026
Merged

uutests: preserve PATH in UCommand to fix NixOS test failures#10959
cakebaker merged 1 commit intouutils:mainfrom
0xMillyByte:fix/test-preserve-path

Conversation

@0xMillyByte
Copy link
Contributor

This ensures that the PATH environment variable is preserved even when cleared, allowing tests to find system utilities on NixOS where they are not in standard locations like /bin.

Fixes #10756

This ensures that the PATH environment variable is preserved even when cleared, allowing tests to find system utilities on NixOS where they are not in standard locations like /bin.

Fixes uutils#10756
@github-actions
Copy link

GNU testsuite comparison:

Note: The gnu test tests/printf/printf-surprise is now being skipped but was previously passing.
Congrats! The gnu test tests/tail/tail-n0f is now passing!

@cakebaker cakebaker merged commit 8eb77a0 into uutils:main Feb 16, 2026
197 of 200 checks passed
@cakebaker
Copy link
Contributor

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.

Test failure on NixOS

2 participants