Commit graph

10463 commits

Author SHA1 Message Date
Sylvestre Ledru
d38797bb50 mv: Show 'skipped' when a file isn't overwriten
Should fix tests/mv/mv-n.sh
2023-05-29 21:57:42 +02:00
Sylvestre Ledru
d303af31b7 cp: Accept --preserve=link
Used for example in:
tests/mv/hard-3.sh
2023-05-29 15:46:18 +02:00
Ideflop
6c98b23e80 more: implement arguments -n/--lines and --number 2023-05-29 14:36:18 +02:00
Daniel Hofstetter
b4f5a87f64
Merge pull request #4913 from uutils/renovate/once_cell-1.x
chore(deps): update rust crate once_cell to 1.17.2
2023-05-29 14:12:02 +02:00
Terts Diepraam
f89182e89b
Merge pull request #4911 from jeddenlea/uniq
uniq: non-UTF-8 file names and fewer copies
2023-05-29 13:49:34 +02:00
Daniel Hofstetter
19c4281495
Merge pull request #4912 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.25
2023-05-29 13:48:15 +02:00
renovate[bot]
af90bbd2d3
chore(deps): update rust crate once_cell to 1.17.2 2023-05-29 10:29:39 +00:00
renovate[bot]
d75e15fbca
chore(deps): update rust crate chrono to ^0.4.25 2023-05-29 10:29:34 +00:00
GaryDev
4cc569f5f0
whoami: add test to improve coverage
* tests/whoami: add windows test for issue #4614

* tests/whoami issue #4614: add all platform test
2023-05-29 07:34:19 +02:00
Jed Denlea
d6562b2b5f uniq: non-UTF-8 file names and fewer copies
uniq ought to be able to work with files whose names are not UTF-8.

I've also taken the chance to remove some unnecessary String
allocations.

Additionally, both open_input_file and open_output_file were returning
items with two implie levels of `Box<dyn ...>` that were not necessary.

In the case of stdin as input, it was not necessary to wrap stdin with a
BufReader, StdinLock implements BufRead itself.
2023-05-28 17:25:39 -07:00
Daniel Hofstetter
9ae9d5cd58
Merge pull request #4679 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.5.0
2023-05-28 11:38:40 +02:00
Daniel Hofstetter
e23a57a193
Merge pull request #4670 from uutils/renovate/redox_syscall-0.x
chore(deps): update rust crate redox_syscall to 0.3
2023-05-28 11:36:05 +02:00
Kamil Ogórek
07434647ad
fix: Correctly detect format when using md5sum with check flag (#4645) 2023-05-27 23:56:15 +02:00
Sylvestre Ledru
388fa1b717
Merge pull request #4696 from jeddenlea/wc
wc: streaming --files0-from and other improvements
2023-05-27 23:55:16 +02:00
renovate[bot]
c92ca96b18
chore(deps): update rust crate tempfile to 3.5.0 2023-05-27 18:58:28 +00:00
renovate[bot]
82f9abc50b
chore(deps): update rust crate redox_syscall to 0.3 2023-05-27 18:56:22 +00:00
Sylvestre Ledru
e295cb7acb
Merge pull request #4903 from Ideflop/more_implement_squeeze
more: implement argument -s / --squeeze
2023-05-27 20:38:52 +02:00
Sylvestre Ledru
8c5b424573
Merge pull request #4908 from cakebaker/bump_crates_to_phase_out_windows_sys_0_42
Bump crates to phase out windows-sys 0.42.0
2023-05-27 18:54:53 +02:00
Daniel Hofstetter
f0fe7b3bba Bump tempfile from 3.4.0 to 3.5.0 2023-05-27 16:16:18 +02:00
Daniel Hofstetter
f0b5cd98a6 Bump parking_lot_core from 0.9.4 to 0.9.7 2023-05-27 16:11:16 +02:00
Daniel Hofstetter
9d39b137a7 Bump mio from 0.8.5 to 0.8.6 2023-05-27 16:10:23 +02:00
Daniel Hofstetter
cdadb38807 Bump filetime from 0.2.18 to 0.2.20 2023-05-27 16:07:03 +02:00
Daniel Hofstetter
7d2d567858 Bump ctrlc from 3.2.4 to 3.2.5 2023-05-27 16:04:52 +02:00
Daniel Hofstetter
7fb9a9b0c4 Bump console from 0.15.5 to 0.15.7 2023-05-27 16:01:15 +02:00
jaggededgedjustice
81a854a13e
date: Catch format string that is not supported by chrono (#4244)
* Catch format string that is not supported by chrono

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2023-05-27 15:41:12 +02:00
Daniel Hofstetter
76656aa2c6
Merge pull request #4870 from uutils/renovate/notify-6.x
chore(deps): update rust crate notify to v6
2023-05-27 13:18:33 +02:00
renovate[bot]
382ea38ace
chore(deps): update rust crate notify to v6 2023-05-27 08:31:04 +00:00
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