1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-15 19:36:16 +00:00
Commit graph

15910 commits

Author SHA1 Message Date
daniel.eades
086be29a3c remove redundant clippy MSRV config 2025-01-20 07:50:05 +00:00
Daniel Hofstetter
6c26b4c2df
Merge pull request #7153 from uutils/sylvestre-patch-4
Use ubuntu-24.04-arm to build/test linux arm64
2025-01-20 08:47:03 +01:00
Sylvestre Ledru
d66932f593 issues: 7158, 7159 and 7174 - ignore linux arm64 specific test 2025-01-20 08:13:35 +01:00
Sylvestre Ledru
4caacf8d3e Try to use ubuntu-24.04-arm as system 2025-01-20 08:13:27 +01:00
Sylvestre Ledru
cc1e1a9e5b
Merge pull request #7171 from jfinkels/build-remove-seq-timeout
build: remove timeout from seq test cases
2025-01-20 08:09:46 +01:00
Sylvestre Ledru
bf2a55e289 Refresh Cargo.lock 2025-01-20 00:08:58 +01:00
Sylvestre Ledru
418aaaffde chroot: move to thiserror 2025-01-20 00:04:53 +01:00
Sylvestre Ledru
6866eedc83 mv: move to thiserror 2025-01-19 23:57:53 +01:00
Sylvestre Ledru
9de6393e2c touch: move to thiserror 2025-01-19 23:57:53 +01:00
Sylvestre Ledru
70f3429102 seq: move to thiserror 2025-01-19 23:57:53 +01:00
Sylvestre Ledru
740cea7a46 sort: move to thiserror 2025-01-19 23:57:53 +01:00
Sylvestre Ledru
0a230e58b7
Merge pull request #7172 from uutils/renovate/parse_datetime-0.x
chore(deps): update rust crate parse_datetime to 0.7.0
2025-01-19 23:09:37 +01:00
Jeffrey Finkelstein
0e8c0ed6f0 build: remove timeout from seq test cases 2025-01-19 16:40:03 -05:00
renovate[bot]
fb3637439f
chore(deps): update rust crate parse_datetime to 0.7.0 2025-01-19 21:39:48 +00:00
Sylvestre Ledru
1472995e35
Merge pull request #7170 from jfinkels/restore-uutils-in-build-script
build: restore uutils in GNU test files
2025-01-19 22:38:29 +01:00
Jeffrey Finkelstein
99ad4aa954 build: restore uutils in GNU test files
Update the `util/build-gnu.sh` script to restore the use of uutils
programs that had been temporarily replaced with GNU programs in test
files where the program to replace was not a primary concern. For
example, before this commit we were forcing the use of GNU `stat`
instead of uutils `stat` in the test file
`tests/touch/60-seconds.sh`. After this commit, we use the uutils
`stat` since it is working well enough for this test case.
2025-01-19 15:31:48 -05:00
Sylvestre Ledru
9f07d50955
Merge pull request #7168 from jfinkels/printf-test-int-overflow
Re-enable integer overflow test case for printf
2025-01-19 19:54:47 +01:00
Jeffrey Finkelstein
249871a64b Re-enable integer overflow test case for printf 2025-01-19 13:12:13 -05:00
Sylvestre Ledru
8b46229a9f
Merge pull request #7139 from cakebaker/deny_toml_remove_syn_from_skip_list
deny.toml: remove `syn` from skip list
2025-01-19 19:08:51 +01:00
Daniel Hofstetter
d9370398cb
Merge pull request #7164 from uutils/renovate/similar-2.x-lockfile
fix(deps): update rust crate similar to v2.7.0
2025-01-19 17:48:46 +01:00
renovate[bot]
891529aa56
fix(deps): update rust crate similar to v2.7.0 2025-01-19 16:21:54 +00:00
Sylvestre Ledru
647e6164c8
Merge pull request #7163 from cakebaker/gnu_patches_fix_ls_no_cap
gnu patches: adapt `tests_ls_no_cap.patch` to GNU `coreutils 9.6`
2025-01-19 17:20:48 +01:00
Daniel Hofstetter
98af681473 gnu patches: adapt tests_ls_no_cap.patch
to coreutils 9.6
2025-01-19 16:01:14 +01:00
Daniel Hofstetter
d39dcad47c
Merge pull request #7149 from sylvestre/9.6
try upstream 9.6
2025-01-19 14:40:09 +01:00
Daniel Hofstetter
1597e26fd0
Merge pull request #7157 from sylvestre/missing-dep
Add missing dependencies
2025-01-19 14:28:02 +01:00
Sylvestre Ledru
34421f5d25
Merge pull request #6134 from sargas/expr-error-messages
expr: Fix assorted test errors in tests/expr/expr.pl
2025-01-19 14:15:20 +01:00
Joseph Jon Booker
1e0f697ab0 expr: Fix cargo fmt of src/uu/expr/src/syntax_tree.rs 2025-01-19 05:24:41 -06:00
Sylvestre Ledru
8c27c7f3f2 Update src/uu/expr/src/syntax_tree.rs 2025-01-19 05:15:13 -06:00
Joseph Jon Booker
6701c6ef44 expr: Rework branches and add tests for check_posix_regex_errors 2025-01-19 05:15:13 -06:00
Joseph Jon Booker
cfb539d672 expr: rename validate_regex to check_posix_regex_errors
Also clarified the intent of this function
2025-01-19 05:15:13 -06:00
Joseph Jon Booker
335b13f940 expr: Minor linting fix 2025-01-19 05:15:13 -06:00
Joseph Jon Booker
bff827d9ed expr: Reject invalid intervals in regular expressions 2025-01-19 05:15:13 -06:00
Joseph Jon Booker
fa0bd722b7 expr: Allow initial asterisk in regular expressions
GNU expr appears to treat this as a literal asterisk
2025-01-19 05:15:12 -06:00
Joseph Jon Booker
6a7df7d6c1 expr: Add specific errors for invalid regular expressions 2025-01-19 05:11:40 -06:00
Joseph Jon Booker
0ba9a301b0 expr: fix panic for "empty substitution" test case 2025-01-19 05:09:22 -06:00
Joseph Jon Booker
aa010b71b8 expr: Change error messages when missing closing parenthesis
This situation now has two errors - one if we parse a character that
isn't a closing parenthesis, and the other if we don't parse anything.
2025-01-19 05:09:22 -06:00
Sylvestre Ledru
b6f6d93a90
Merge pull request #7155 from cakebaker/numfmt_expand_test
numfmt: extract test from other test & expand it
2025-01-18 22:38:06 +01:00
Sylvestre Ledru
03fc5ca381 chmod/uucore dep: add missing dependency 2025-01-18 21:45:55 +01:00
Sylvestre Ledru
178f57fad6 uucore: add missing declarations 2025-01-18 21:43:18 +01:00
Daniel Hofstetter
79f4b8976c
Merge pull request #7154 from jfinkels/ls-time-style-timezone-abbrev
ls: display %Z alphabetic time zone abbreviation
2025-01-18 16:54:16 +01:00
Daniel Hofstetter
899aca3880 numfmt: extract test from other test & expand it 2025-01-18 16:19:39 +01:00
Jeffrey Finkelstein
ab6d95cdb9 ls: display %Z alphabetic time zone abbreviation
Display the alphabetic timezone abbreviation (like "UTC" or "CET") when
the `--time-style` argument includes a `%Z` directive. This matches the
behavior of `date`.

Fixes #7035
2025-01-18 09:33:52 -05:00
Jeffrey Finkelstein
ef0377d3da ls: refactor time formatting helper method 2025-01-18 09:29:01 -05:00
Daniel Hofstetter
64dad0c3ab
Merge pull request #7144 from sylvestre/comm2
comm: implement the ordering check
2025-01-18 14:53:33 +01:00
Sylvestre Ledru
16b0122a79 Update GNU reference to 9.6 2025-01-18 10:17:15 +01:00
Sylvestre Ledru
b50a012d13 comm: implement the ordering check
A few comments:
* skip if the two args are pointing to the same file
* skip if the same content in the two files
* implement --check-order
* implement --nocheck-order
* output the right things on stderr

Should pass: tests/misc/comm
2025-01-18 09:22:41 +01:00
Sylvestre Ledru
05c4ce06d1
Merge pull request #7151 from jfinkels/df-mountinfo-special-chars
df: fix display of special characters
2025-01-17 09:15:23 +01:00
Daniel Hofstetter
df77904999
Merge pull request #7150 from uutils/renovate/chrono-tz-0.x-lockfile
chore(deps): update rust crate chrono-tz to v0.10.1
2025-01-17 06:55:33 +01:00
Yykz
96c17312ea df: fix display of special characters
Replace the display of certain special characters in `df`: ASCII space
for plain space character, ASCII horizontal tab for plain tab
character, and ASCII backslash for plain backslash character.

Co-authored-by: Jeffrey Finkelstein <jeffrey.finkelstein@protonmail.com>
2025-01-16 21:49:58 -05:00
renovate[bot]
498f63ca12
chore(deps): update rust crate chrono-tz to v0.10.1 2025-01-16 21:38:10 +00:00