Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-style_4627
2750da2
4 days ago
by naoNao89
0%
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-style_4627
4ffe334
2 days ago
by naoNao89
+0.01%
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-style_4627
47859f7
19 hours ago
by naoNao89
0%
test: address review feedback and harden GNU-compat tests; fix SELinux gating for ls
- chcon/runcon: add rationale comments for item-level cfg with stub main() on non-Linux
to keep binary targets present across platforms (fixes reviewer request)
- cat tests: remove top-of-file banner; add scoped comment and replace tautology
with assert on process exit to ensure no hang/crash in broken pipe scenario
- tee tests: replace tautological assertion with explicit exit presence check
in broken pipe scenario (Unix, non-FreeBSD)
- ls: gate SecurityContext lookup under all(feature=selinux, target_os=linux) to
avoid unresolved symbols when building with all features; maintain String
return path across cfg branches
These changes address @sylvestre’s comments and improve cross-platform stability
while preserving GNU-compat coverage for TIME_STYLE, broken pipes, and stdbuf.