Skip to content
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

cut: first take on delimiters refactor #4

Merged
merged 52 commits into from
Mar 12, 2024
Merged

cut: first take on delimiters refactor #4

merged 52 commits into from
Mar 12, 2024

Conversation

zhitkoff
Copy link
Owner

cut: first take on delimiters refactor

cakebaker and others added 30 commits February 15, 2024 12:23
Now that clap#2624 has been resolved, we can and should test both variants.
See also 9995c63.

There is a race condition between the writing thread and the command.
It is easily possible that on the developer's machine, the writing
thread is always faster, filling the kernel's buffer of the stdin pipe,
thus succeeding the write. It is also easily possible that on the busy
CI machines, the child command runs first for whatever reason, and exits
early, thus killing the pipe, which causes the later write to fail. This
results in a flaky test. Let's prevent flaky tests.
chore(deps): update rust crate rayon to 1.9
tests: Harden two tests, prevent 4 flaky tests (cat, numfmt, sort, split, tee)
…ile_busy_error

Android CI: workaround: run builds with retry
cargo: fix feature = "cargo-clippy" deprecation
printf: Make printf operate on bytes instead of strings
…teractive_update

cp: fix flaky test test_cp_arg_interactive_update, document adjacent bug
…l_utility

test utilities: easy way to simulate terminal context
ci: use codecov token in CICD/GnuTests workflows
cakebaker and others added 22 commits March 2, 2024 07:12
chore(deps): update rust crate walkdir to 2.5
tests/common/util.rs: add `cfg(feature = "env")`
One of the GNU tests checks for the exact error message.
…message

This is explicitly tested in the GNU tests.
This function is by necessity ill-defined: Depending on the context,
'..' is either the logical parent directory, sometimes the physical
parent directory. This function can only work for the latter case,
in which case `Path::canonicalize` is often a better approach.
…gh-release-2.x

chore(deps): update softprops/action-gh-release action to v2
…bin_limited_fds

Fix/flaky `split` round robin limited fds
…root

chown+chgrp+chmod: Fix handling of preserve root flag and error messages
Copy link

github-actions bot commented Mar 9, 2024

GNU testsuite comparison:

Congrats! The gnu test tests/chown/preserve-root is no longer failing!

@zhitkoff zhitkoff merged commit 7d10c78 into dev Mar 12, 2024
59 checks passed
@zhitkoff zhitkoff deleted the cut-delim branch March 12, 2024 21:52
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.

8 participants