-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
tests: GNU-compat coverage for write-errors and ls TIME_STYLE (#4627) #8684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
naoNao89
wants to merge
19
commits into
uutils:main
from
naoNao89:test/gnu-compat_write-errors_and_ls-time-style_4627
Closed
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
99dff95
tests(ls, tee, cat): expand GNU-compat coverage for TIME_STYLE, broke…
naoNao89 db3e7d3
chore(fmt): rustfmt test_cat.rs after test cleanup
naoNao89 0b25819
tests(ls): make TIME_STYLE iso recent/older test independent of 'touc…
naoNao89 3107fe3
chore(spell): rename test temp filename to avoid cspell false positives
naoNao89 0a5e2b0
ci(spell): add 'timefile' to cspell ignore list in test_ls.rs
naoNao89 c72abe0
tests: fix cat broken-pipe flake; make stdbuf tests feature-aware
naoNao89 6ac5031
linux: gate SELinux code to Linux; fix cat broken pipe test
naoNao89 fd1cfb2
cspell: whitelist errno EPIPE in workspace dictionary
naoNao89 211eaed
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-sty…
naoNao89 30835b7
tests(tee): skip broken-pipe early termination test on FreeBSD to avo…
naoNao89 1c3dcb9
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-sty…
naoNao89 2750da2
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-sty…
naoNao89 4ffe334
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-sty…
naoNao89 47859f7
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-sty…
naoNao89 82646c7
test: address review feedback and harden GNU-compat tests; fix SELinu…
naoNao89 4e90de7
tests: address review feedback and stabilize GNU-compat coverage for …
naoNao89 09ded48
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-sty…
naoNao89 e8aba43
tests(ls): fix unused variable in test_ls_time_sort_without_long when…
naoNao89 b34140c
Merge branch 'main' into test/gnu-compat_write-errors_and_ls-time-sty…
naoNao89 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,6 +129,8 @@ ENOTEMPTY | |
| EOPNOTSUPP | ||
| EPERM | ||
| EROFS | ||
| EPIPE | ||
|
|
||
|
|
||
| # * vars/fcntl | ||
| F_GETFL | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,9 @@ | ||
| #![cfg(target_os = "linux")] | ||
| // On non-Linux targets, provide a stub main to keep the binary target present | ||
| // and the workspace buildable. Using item-level cfg avoids excluding the crate | ||
| // entirely (via #![cfg(...)]), which can break tooling and cross builds that | ||
| // expect this binary to exist even when it’s a no-op off Linux. | ||
| #[cfg(target_os = "linux")] | ||
| uucore::bin!(uu_chcon); | ||
|
|
||
| #[cfg(not(target_os = "linux"))] | ||
naoNao89 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| fn main() {} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,9 @@ | ||
| #![cfg(target_os = "linux")] | ||
| // On non-Linux targets, provide a stub main to keep the binary target present | ||
| // and the workspace buildable. Using item-level cfg avoids excluding the crate | ||
| // entirely (via #![cfg(...)]), which can break tooling and cross builds that | ||
| // expect this binary to exist even when it’s a no-op off Linux. | ||
| #[cfg(target_os = "linux")] | ||
| uucore::bin!(uu_runcon); | ||
|
|
||
| #[cfg(not(target_os = "linux"))] | ||
| fn main() {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.