Skip to content

env: add regression tests for non-UTF-8 command names and directory execution - #14654

Open
krosci wants to merge 1 commit into
uutils:mainfrom
krosci:env0-from-fixes
Open

krosci wants to merge 1 commit into
uutils:mainfrom
krosci:env0-from-fixes

Conversation

@krosci

@krosci krosci commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Execution failures on non-UTF-8 binary paths and directories previously reported generic unknown errors instead of the underlying OS error message. This pull request adds regression tests verifying that non-UTF-8 program names, directory invocations, and paths with trailing slashes report the correct error message and exit code.

Resolves #12805
Resolves #12778.

@krosci
krosci marked this pull request as draft September 17, 2026 17:41
@krosci krosci changed the title env: fix --env0-from test failures on Windows and macOS env: add tests for non-utf8 binary execution and directory handling Sep 17, 2026
@krosci krosci changed the title env: add tests for non-utf8 binary execution and directory handling env: add regression tests for non-UTF-8 command names and directory execution Sep 17, 2026
@krosci
krosci marked this pull request as ready for review September 17, 2026 18:05
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/tail/retry (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/misc/tty-eof (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/unexpand/bounded-memory is now passing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant