Skip to content

test_env: Make argv0 tests compatible with Ubuntu patch#10834

Open
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:env-ubuntu-compat
Open

test_env: Make argv0 tests compatible with Ubuntu patch#10834
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:env-ubuntu-compat

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Feb 9, 2026

  1. Ubuntu patch does not allow dispatching utils by argv[0] for security. But it makes some env tests depending on coreutils's argv[0] unavaiable. This PR rewrites those tests to use sh instead of coreutils. Those tests are already restricted to unix, so those tests keep portablity.

  2. Split some changes unrelated with auxval dispatching itself from coreutils: Protect against env -a for security #10773 for smaller diff.

@oech3
Copy link
Contributor Author

oech3 commented Feb 9, 2026

GitHub down...

@oech3 oech3 force-pushed the env-ubuntu-compat branch from 6a53e03 to b8715fb Compare February 9, 2026 17:15
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

GNU testsuite comparison:

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

@oech3 oech3 marked this pull request as ready for review February 9, 2026 18:00
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.

1 participant