Commit graph

12600 commits

Author SHA1 Message Date
Haisham
d56c7bbaee kill: add test for vertical --list 2024-04-12 06:21:48 +02:00
Haisham
c4c81291b7 kill: add tests to check multiple output 2024-04-12 06:21:48 +02:00
Haisham
693149d683 kill: support multiple signals for --list 2024-04-12 06:21:48 +02:00
Chad Williamson
9d82fa3b9a mv: avoid attempting to set xattr on redox 2024-04-12 06:16:48 +02:00
Daniel Hofstetter
5bf939aec6
Merge pull request #6207 from BenWiederhake/pr/6069
cp: handle update prompt with and without interactive mode enabled
2024-04-11 14:55:26 +02:00
Daniel Hofstetter
aa4606a873
Merge pull request #6214 from uutils/renovate/platform-info-2.x
chore(deps): update rust crate platform-info to 2.0.3
2024-04-11 10:44:57 +02:00
renovate[bot]
edb16c386c
chore(deps): update rust crate platform-info to 2.0.3 2024-04-11 08:10:57 +00:00
Daniel Hofstetter
8b82fcd134
Merge pull request #6204 from BenWiederhake/dev-dd-flaky-test-regex
dd: fix flaky test_null_stats
2024-04-10 16:44:26 +02:00
Qiu Chaofan
11c9351a9c
Initial AIX support (#6209)
* Initial AIX support

Add support to build on AIX operating system. Most of the changes are
in fs part. Since AIX is still tier-3 target, current support is minimal
and does not require passing all tests.

* Fix spell checking failure
2024-04-10 13:40:44 +02:00
Daniel Hofstetter
f95a8ebd3d
Merge pull request #5460 from uutils/renovate/rust-ini-0.x
chore(deps): update rust crate rust-ini to 0.21.0
2024-04-09 16:48:27 +02:00
renovate[bot]
226d6a263d
chore(deps): update rust crate rust-ini to 0.21.0 2024-04-09 14:02:29 +00:00
Daniel Hofstetter
43dd557cae
Merge pull request #6206 from uutils/renovate/rstest-0.x
chore(deps): update rust crate rstest to 0.19.0
2024-04-09 16:01:23 +02:00
renovate[bot]
68de6f57f0
chore(deps): update rust crate rstest to 0.19.0 2024-04-09 13:22:14 +00:00
Vikrant2691
9b9c0cc237 cp: handle update prompt with and without interactive mode enabled 2024-04-09 15:14:33 +02:00
Sylvestre Ledru
aeafabd23f
Merge pull request #6185 from maxer137/main
seq: Removed zero-padding of string when parsing with parse_exponent_no_decimal
2024-04-08 09:14:42 +02:00
Daniel Hofstetter
b6f325bc0a
Merge pull request #6205 from uutils/renovate/davidanson-markdownlint-cli2-action-16.x
chore(deps): update davidanson/markdownlint-cli2-action action to v16
2024-04-08 07:04:47 +02:00
renovate[bot]
997cef0c5c
chore(deps): update davidanson/markdownlint-cli2-action action to v16 2024-04-08 03:05:26 +00:00
Haisham
843407faf8 kill: removed unnecessary calls to print in print_signals 2024-04-07 22:48:15 +02:00
Haisham
6e4c9119fb kill: print signals vertically 2024-04-07 22:48:15 +02:00
Ben Wiederhake
0375bc98a6 dd: fix flaky test_null_stats
If the first four decimal digits are zero, GNU dd elides them altogether.
Therefore, this test just contained an overly-strict regex.

See also ede944e1f8.
2024-04-07 22:45:35 +02:00
Sylvestre Ledru
a75b8a0f67
Merge pull request #6199 from BenWiederhake/dev-wc-ascii-control-is-word
wc: count ASCII control characters as word characters
2024-04-07 08:51:12 +02:00
Ben Wiederhake
d5e7f9a4a4 wc: count ASCII control characters as word characters 2024-04-07 02:12:22 +02:00
Ulrich Hornung
abdeead005 add sleep explicitly to makefile 2024-04-07 01:27:30 +02:00
Ulrich Hornung
eca8130a4a feature: env argv0 overwrite (unix only) 2024-04-07 01:27:30 +02:00
Daniel Hofstetter
56e59da558
Merge pull request #6196 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.0.7
2024-04-06 07:06:46 +02:00
Jadi
5d17bf7d78 head: two new tests. Improves function coverage from 38 to 75 2024-04-06 05:40:26 +02:00
renovate[bot]
4b605cb43f
chore(deps): update vmactions/freebsd-vm action to v1.0.7 2024-04-05 22:02:53 +00:00
maxer137
538f5ba6c2
Merge branch 'main' into main 2024-04-05 20:43:02 +00:00
maxer137
0fdefc3767 seq: remove zero padding from parse_decimal_and_exponent
This adds the same fix applied to `parse_exponent_no_decimal`.
This way we don't need to create large strings
2024-04-05 15:01:18 +02:00
Terts Diepraam
415de28fed
Merge pull request #6192 from cakebaker/cksum_fix_formatting
cksum: fix code formatting
2024-04-05 09:43:43 +02:00
Daniel Hofstetter
ac12957307 cksum: fix code formatting 2024-04-05 07:14:37 +02:00
Sylvestre Ledru
a370d15906
Merge pull request #6191 from jadijadi/cut-two-new-tests
cut: two new tests; -d conflict & no arg
2024-04-04 23:14:27 +02:00
Jadi
1137d9a62d cut: two new tests; -d conflict & no arg 2024-04-04 21:33:22 +03:30
Daniel Hofstetter
d11878403c Readme: fix links to docs 2024-04-04 17:23:47 +02:00
Daniel Hofstetter
082528d6de
Merge pull request #6187 from jadijadi/cksum-base64-short-option
cksum: adding -b as the short form of --base64
2024-04-04 15:36:40 +02:00
Jadi
4312f3c43e cksum: adding -b as the short form for --base64
closes #5706
2024-04-04 15:09:17 +03:30
maxer137
cdfcae4d4f seq: Reverted change in is_minus_zero check
I had made the mistake of not running all the tests. This is indeed needed. However, you still need to add the exponent if it's positive for 0 numbers.
This way, 0 numbers (such as 0e+5) will be counted as having a width of 5.

This change also removes the memory allocation needed for the previous implementation. Where the string itself would be padded with zeros on the right side. Creating large numbers this method would cause large allocations in memory.

This does not seem to fix issue #6182.
2024-04-03 19:20:27 +02:00
maxer137
362deeca84 seq: remove exponent exponent less than 0 check.
When exponent is greater than 0 we previously created a new string causing us to create a new string with a much larger size.
This would the get passed to the BigDecimal crate which would get stuck.
2024-04-03 16:07:31 +02:00
maxer137
efd7b6116c seq: remove is_minus_zero_float check on parse_exponent_no_decimal 2024-04-03 16:07:04 +02:00
Daniel Hofstetter
874c4f23c0
Merge pull request #6184 from sylvestre/match_bool
Fix clippy warning match_bool
2024-04-03 09:59:49 +02:00
Sylvestre Ledru
0a0a7b9ba1 clippy: enable match_bool 2024-04-03 09:28:26 +02:00
Sylvestre Ledru
2fe5dc874e Fix clippy warning match_bool 2024-04-03 09:28:22 +02:00
Sylvestre Ledru
d7434d4198
Merge pull request #6181 from tertsdiepraam/lets-fix-this-bleeping-release
CI: change publish step condition
2024-04-02 18:05:42 +02:00
Terts Diepraam
da0b580504 CI: change publish step condition
Hopefully, this fixes our release artifact problems.
2024-04-02 14:24:03 +02:00
Sylvestre Ledru
076710d288
Merge pull request #6167 from sylvestre/fuzz_env
add env & tr fuzzers + small improvs
2024-04-02 09:10:33 +02:00
Sylvestre Ledru
14ef1a204c fuzz: run the new fuzzers in the CI 2024-04-01 23:19:04 +02:00
Sylvestre Ledru
7919b4e3cd fuzz: start fuzzing env & tr 2024-04-01 23:19:02 +02:00
Sylvestre Ledru
1a87618015
Merge pull request #6173 from BenWiederhake/dev-ls-exit-code
ls: compute the correct exit code
2024-04-01 23:16:37 +02:00
Ben Wiederhake
714b4ff589 ls: fix exit code for --time-style when used 2024-04-01 22:57:18 +02:00
Ben Wiederhake
4a1bd78f48 ls: compute correct exit code on error
Note in particular that this seems to be the only tool where invalid
stringly-enum values cause a different exit code than invalid arguments.
2024-04-01 22:57:18 +02:00