Commit graph

10540 commits

Author SHA1 Message Date
Sylvestre Ledru
1d9aa96601
Merge pull request #4904 from cakebaker/bump_notify_to_5_2_0_and_disable_tests_on_android
Bump notify to 5.2.0 and disable tests on android
2023-05-27 10:04:13 +02:00
Daniel Hofstetter
c6e79fa3f8 Bump notify from 5.1.0 to 5.2.0 2023-05-27 08:05:08 +02:00
Daniel Hofstetter
b248b9d34c tail: disable some tests on Android 2023-05-27 08:02:03 +02:00
Ideflop
03dec5128c more: implement argument -s / --squeeze 2023-05-27 00:04:04 +02:00
Sylvestre Ledru
81d5274b04
Merge pull request #4899 from cakebaker/bump_rustix_crates
Bump rustix crates
2023-05-26 11:53:54 +02:00
Daniel Hofstetter
1471b7a0f2
Merge pull request #4900 from uutils/renovate/regex-1.x
chore(deps): update rust crate regex to 1.8.3
2023-05-26 07:54:55 +02:00
renovate[bot]
97f5ea3ac2
chore(deps): update rust crate regex to 1.8.3 2023-05-26 04:46:14 +00:00
Daniel Hofstetter
d69d6ebb13 Bump rustix from 0.37.3 to 0.37.7 2023-05-25 15:31:23 +02:00
Daniel Hofstetter
2d15b01c8b Bump rustix from 0.36.8 to 0.36.14 2023-05-25 15:21:45 +02:00
Sylvestre Ledru
e920d8d1bd
Merge pull request #4898 from cakebaker/remove_num_cpus
Remove unused "num_cpus" dependency
2023-05-25 14:54:04 +02:00
Daniel Hofstetter
9f56e47e1d Remove unused "num_cpus" dependency 2023-05-25 13:23:20 +02:00
Daniel Hofstetter
79df3937c2
Merge pull request #4896 from shinhs0506/mkdir-test
Mkdir: explicit umask and sequential tests
2023-05-25 07:15:48 +02:00
John Shin
90ed91608e mkdir: document why a mutex is necessary 2023-05-24 16:50:08 -07:00
Daniel Hofstetter
81e3b04b11
Merge pull request #4888 from Ludmuterol/more-panic-4886
fix(#4886) more: panics if file is not readable
2023-05-24 17:42:27 +02:00
tpeters
7cad501c2c more: add output check to test 2023-05-24 16:32:29 +02:00
Ludmuterol
ccdb76aef7
more: Update tests/by-util/test_more.rs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-05-24 15:57:55 +02:00
tpeters
53ffd55bdf more: run test only on unix systems 2023-05-24 13:40:30 +02:00
tpeters
eed916a076 more: disable raw mode on error 2023-05-24 13:40:14 +02:00
Moïse Valvassori
b29f8b011b
chown: show "ownership of 'foo' retained" message
* Display a message when the owner is not changed.

* Display a message when the current user/group doesn't match those specified in the `--from` args.

* print messages to stdout

* Show the message "ownership of 'foo' retained as 'bar'" for every path entry when `chown -v -R --from=`

* fix chown tests: test stdout and not stderr

* factorize duplicate code in a function

* Display a message when the owner is not changed.

* Display a message when the current user/group doesn't match those specified in the `--from` args.

* print messages to stdout

* Show the message "ownership of 'foo' retained as 'bar'" for every path entry when `chown -v -R --from=`

* fix chown tests: test stdout and not stderr

* factorize duplicate code in a function

* display the retained ownership details according to the destination ownership.
2023-05-24 09:45:19 +02:00
John Shin
f8a5dbc41c mkdir: run tests sequentially by adding a mutex 2023-05-23 15:56:51 -07:00
John Shin
c561074425 mkdir: explicitly set umask when testing mode 2023-05-23 15:45:04 -07:00
Sylvestre Ledru
1eb57a92b2
Merge pull request #4894 from cakebaker/fix_yanked_crates_warnings
Bump crossbeam(-channel, -epoch, -utils) crates
2023-05-23 21:57:43 +02:00
Sylvestre Ledru
9a6d47759b
Merge pull request #4890 from shinhs0506/rm-i
fix rm/interactive-always.sh
2023-05-23 18:59:37 +02:00
tpeters
50bff30c67 more: add test and change error type 2023-05-23 18:03:25 +02:00
Daniel Hofstetter
9e0a63fae7 Bump crossbeam(-channel, -epoch, -utils) crates
crossbeam-channel from 0.5.6 to 0.5.8
crossbeam-epoch from 0.9.12 to 0.9.14
crossbeam-utils from 0.8.13 to 0.8.15
2023-05-23 10:34:06 +02:00
Daniel Hofstetter
434bba3539
Merge pull request #4893 from uutils/renovate/regex-1.x
chore(deps): update rust crate regex to 1.8.2
2023-05-23 09:47:43 +02:00
Sylvestre Ledru
97dc8b2ea9
Merge pull request #4891 from cakebaker/mv_missing_semicolons_to_tests
mv: add missing semicolons to tests
2023-05-23 08:53:45 +02:00
renovate[bot]
465b245a1c
chore(deps): update rust crate regex to 1.8.2 2023-05-23 06:24:59 +00:00
Daniel Hofstetter
e28cd49490
Merge pull request #4887 from uutils/renovate/bstr-1.x
chore(deps): update rust crate bstr to 1.5
2023-05-23 07:41:48 +02:00
Daniel Hofstetter
2f4b57ca97 mv: add missing semicolons to tests 2023-05-23 07:23:42 +02:00
Daniel Hofstetter
58f6001af7
Merge pull request #4889 from sylvestre/date_test
date: bring back the test
2023-05-23 07:15:09 +02:00
John Shin
421b2f2581 rm: test prompts when --interactive is once 2023-05-22 21:27:43 -07:00
John Shin
e50b84035f rm: fix prompt when --interactive is once 2023-05-22 21:26:52 -07:00
John Shin
eeb3341101 rm: add tests for --interactive with empty when 2023-05-22 21:23:44 -07:00
John Shin
78909fdd39 rm: allow empty when for --interactive arg 2023-05-22 21:11:47 -07:00
Sylvestre Ledru
92f4849b60 date: bring back the test 2023-05-22 23:29:55 +02:00
tpeters
d41777c52c more: change file unwrap to match 2023-05-22 20:07:14 +02:00
renovate[bot]
19aacbdc40
chore(deps): update rust crate bstr to 1.5 2023-05-22 15:52:38 +00:00
Daniel Hofstetter
4b33223854
Merge pull request #4885 from uutils/renovate/digest-0.x
chore(deps): update rust crate digest to 0.10.7
2023-05-22 17:39:13 +02:00
Daniel Hofstetter
c7f945641e
Merge pull request #4884 from uutils/renovate/data-encoding-macro-0.x
fix(deps): update rust crate data-encoding-macro to 0.1.13
2023-05-22 17:25:57 +02:00
renovate[bot]
8ffc33429e
chore(deps): update rust crate digest to 0.10.7 2023-05-22 12:49:11 +00:00
renovate[bot]
cda52ebce6
fix(deps): update rust crate data-encoding-macro to 0.1.13 2023-05-22 12:36:42 +00:00
Daniel Hofstetter
8d49e36e8e
Merge pull request #4883 from uutils/renovate/data-encoding-2.x
fix(deps): update rust crate data-encoding to 2.4
2023-05-22 14:33:49 +02:00
Sylvestre Ledru
8b730d8f6a
Merge pull request #4882 from uutils/renovate/clap_complete-4.x
chore(deps): update rust crate clap_complete to 4.3
2023-05-22 13:44:15 +02:00
renovate[bot]
66224cdbf8
fix(deps): update rust crate data-encoding to 2.4 2023-05-22 11:32:58 +00:00
Jed Denlea
e5b46ea3eb wc: more tests and fixes
My previous commits meant to bring our wc's output and behavior in line
with GNU's. There should be tests that check for these changes!

I found a stupid bug in my own changes, I was not adding 1 to the
indexes produced by .enumerate() when printing errors.
2023-05-22 01:02:35 -07:00
renovate[bot]
d1d64049e3
chore(deps): update rust crate clap_complete to 4.3 2023-05-22 07:34:09 +00:00
Sylvestre Ledru
08c71fc80c
Merge pull request #4880 from cakebaker/more_remove_empty_else_branches
more: remove empty "else"-branches in tests
2023-05-22 09:31:21 +02:00
Sylvestre Ledru
e5419ade96
Merge pull request #4878 from cakebaker/mktemp_4874
mktemp: prioritize TMPDIR over -p when using -t
2023-05-22 09:31:11 +02:00
Jed Denlea
c4b53a44b5 wc: make --files0-from work with streams 2023-05-21 23:59:32 -07:00