Daniel Hofstetter
32b335a73a
mv: rename canonized_* -> canonicalized_*
2023-10-25 16:46:33 +02:00
Daniel Hofstetter
6085cf12e3
Merge pull request #5353 from tommady/fix-5327
...
cp: fix cp -a --no-preserve=mode doesn't keep fully the mode
2023-10-25 13:34:45 +02:00
Terts Diepraam
96d0830952
Merge pull request #5446 from cakebaker/ls_try_get_matches_from
...
ls: use try_get_matches_from instead of get_matches_from
2023-10-25 11:25:40 +02:00
Terts Diepraam
f76522e3da
Merge pull request #5453 from n1000/freebsd_fixes_push_2
...
tests/dd: Do not use the OS provided dd utility on FIFOs
2023-10-25 11:24:00 +02:00
Daniel Hofstetter
f8a30d524e
cp: rename handling_no_preserve_mode
...
to handle_no_preserve_mode
2023-10-25 10:43:23 +02:00
Daniel Hofstetter
086f7b548c
cp: replace word in comment
2023-10-25 10:20:01 +02:00
Daniel Hofstetter
9df50096c8
cp: remove "all" from cfg; rename test fn
2023-10-25 10:15:46 +02:00
Nathan Houghton
db26dabd6e
tests/dd: Do not use the OS provided dd utility on FIFOs
...
On *BSD and macOS, the system provided dd utility opens up the output
file for both reading and writing. This means that the open/write to the
FIFO does not block, and almost instantly completes. The system dd then
exits, leaving nothing left to be read by the time the coreutils-rs dd
tries to open/read the FIFO.
Avoid this problem by just writing to the FIFO from the test case
itself, rather than relying on the system provide dd.
2023-10-25 00:05:56 -07:00
Daniel Hofstetter
9d752d59d2
Merge pull request #5452 from sylvestre/df-output
...
df: Replace the error message by the one generated by clap
2023-10-25 07:08:23 +02:00
Daniel Hofstetter
73ee5db032
Merge pull request #5450 from uutils/renovate/bytecount-0.x
...
chore(deps): update rust crate bytecount to 0.6.7
2023-10-25 06:59:54 +02:00
renovate[bot]
e508b6e9df
chore(deps): update rust crate bytecount to 0.6.7
2023-10-24 22:49:28 +00:00
Sylvestre Ledru
3bf1ed4195
df: Replace the error message by the one generated by clap
...
Failed with:
-df: options OPT and --output are mutually exclusive
-Try 'df --help' for more information.
+error: the argument '--inodes' cannot be used with '--output[=<FIELD_LIST>...]'
+
+Usage: df [OPTION]... [FILE]...
2023-10-24 23:57:48 +02:00
Sylvestre Ledru
2e7d37ce86
Merge pull request #5447 from cakebaker/ls_time_style_diag
...
ls: return exit code 2 for invalid time-style
2023-10-24 20:38:17 +02:00
Daniel Hofstetter
6f84e56e28
ls: return exit code 2 for invalid time-style
2023-10-24 16:33:04 +02:00
Daniel Hofstetter
fd18d2686f
ls: return exit code 2 for -l --dired --zero
2023-10-24 14:48:24 +02:00
David Matos
769eb29cd3
mv: moving directory itself should fail ( #5429 )
...
* mv: moving directory itself should fail
* mv: Check trailing slash also fails on target containing itself
* mv: add "spell-checker:ignore mydir" to test
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-24 10:54:23 +02:00
Daniel Hofstetter
d7b7dfeb16
ls: use try_get_matches_from instead of
...
get_matches_from to replace clap's exit code
2023-10-24 10:07:28 +02:00
Sylvestre Ledru
b9c54f8b5f
Merge pull request #5445 from cakebaker/bump_const_random
...
Bump const-random from 0.1.15 to 0.1.16
2023-10-24 08:44:18 +02:00
Daniel Hofstetter
c7c8c748d1
Bump const-random from 0.1.15 to 0.1.16
2023-10-24 07:29:06 +02:00
Yury Zhytkou
a3fed79b5c
split
: suffix auto length (#5433 )
2023-10-23 22:47:39 +02:00
Sylvestre Ledru
209ffe831d
Merge pull request #5441 from n1000/test_ot_fix
...
test: use mtime for -ot and fix direction of comparison
2023-10-23 20:59:30 +02:00
Daniel Hofstetter
9389c44336
Merge pull request #5438 from sylvestre/ls-diag
...
ls: update of the GNU test error output
2023-10-23 14:15:34 +02:00
Daniel Hofstetter
7121cb099d
Merge pull request #5442 from uutils/renovate/bytecount-0.x
...
chore(deps): update rust crate bytecount to 0.6.5
2023-10-23 11:14:37 +02:00
Sylvestre Ledru
937f29b807
ls: update of the GNU test error output
2023-10-23 09:39:51 +02:00
renovate[bot]
e6dd1045f0
chore(deps): update rust crate bytecount to 0.6.5
2023-10-23 07:26:01 +00:00
Daniel Hofstetter
97f4f699ba
Merge pull request #5440 from sylvestre/skip-pr
...
pr: skip a test for now for way too long log
2023-10-23 09:25:22 +02:00
Daniel Hofstetter
aa2e9c11bc
Merge pull request #5439 from sylvestre/runcon-error
...
runcon: generate the same error as GNUs
2023-10-23 07:28:23 +02:00
Nathan Houghton
dbfd700502
test: use mtime for -ot and fix direction of comparison
...
- Use the file modification time instead of the creation time (matches
GNU coreutils documentation)
- Fix direction of comparison (a < b instead of a > b)
- Extend test case to cover both the 0 and 1 exit code cases
2023-10-22 17:44:40 -07:00
Sylvestre Ledru
03d598d08b
Merge pull request #5430 from cakebaker/cp_remove_destination_shouldnt_fail
...
cp --remove-destination: don't fail if destination is symlink to source
2023-10-22 22:17:32 +02:00
Sylvestre Ledru
43f14e4126
pr: skip a test for now for way too long log
2023-10-22 22:11:34 +02:00
Sylvestre Ledru
897af02d9d
runcon: generate the same error as GNUs
...
tested in tests/runcon/runcon-no-reorder.sh
2023-10-22 21:43:49 +02:00
Sylvestre Ledru
a0b17e4af9
Merge pull request #5436 from cakebaker/doc_add_du_verbose_to_extensions
...
doc: mention "-v/--verbose" as extension of du
2023-10-22 19:46:43 +02:00
Daniel Hofstetter
e3e0619e28
doc: mention "-v/--verbose" as extension of du
2023-10-22 17:04:34 +02:00
Daniel Hofstetter
1cf3077d78
Merge pull request #5435 from sylvestre/rm-fail
...
rm: adjust fail-2eperm.sh - gnu test
2023-10-22 13:33:51 +02:00
Sylvestre Ledru
fa265b0520
rm: adjust fail-2eperm.sh - gnu test
2023-10-22 10:47:17 +02:00
Daniel Hofstetter
f7a75893c4
Merge pull request #5432 from sylvestre/doc-ls-dired
...
ls --dired: document the whole thing
2023-10-20 14:33:52 +02:00
Sylvestre Ledru
4472acf909
ls --dired: document the whole thing
2023-10-20 13:29:38 +02:00
Daniel Hofstetter
772892e2e4
cp: --rem don't fail if dest is symlink to source
2023-10-20 09:41:30 +02:00
Yury Zhytkou
eede467e21
split
: --filter
and stdin updates (#5418 )
2023-10-20 08:47:32 +02:00
Sylvestre Ledru
ad6d7e8a67
Merge pull request #5425 from cakebaker/bump_rustix_crates
...
Bump rustix crates
2023-10-20 08:45:12 +02:00
Daniel Hofstetter
1562ef52e8
Bump rustix crates
...
0.36.15 -> 0.36.16
0.37.23 -> 0.37.26
0.38.8 -> 0.38.20
2023-10-20 07:11:56 +02:00
Sylvestre Ledru
f971a69d69
ls --dired -R: fix the positions ( #5341 )
...
* move get_offset_from_previous_line into a specific function
* dired: improve the -R support
* dired: fix the display with subdir
* ls --dired -R: fix the positions
* ls --dired -R: verify also the SUBDIRED coordinate
* ls --dired -R: add a long file name and fix a windows test
* dired: always put dired first in the args + minor fixes
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
* ls: add cognitive_complexity to silent a warning
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-19 14:17:34 +02:00
Daniel Hofstetter
20cc68a29d
Merge pull request #5428 from dmatos2012/mv_make_update_public
...
mv: make UpdateMode public
2023-10-19 11:42:06 +02:00
Daniel Hofstetter
383dcde51a
mv: comment why some imports are public
2023-10-19 10:08:45 +02:00
David Matos
90c2dbb0cc
mv: make UpdateMode public
2023-10-19 09:50:21 +02:00
Daniel Hofstetter
a3c6d6d91e
Merge pull request #5423 from Luv-Ray/fix-pathchk-issue5314
...
`pathchk`: check empty path by default
2023-10-19 09:33:42 +02:00
Zhuoxun Yang
4424091592
tests/pathchk: check error message
2023-10-19 01:29:53 +08:00
Sylvestre Ledru
4573eb693f
Merge pull request #5357 from zhitkoff/issue5334-uucore-parse-r-q
...
Implement SI prefixes R and Q
2023-10-18 18:55:17 +02:00
Sylvestre Ledru
adde9abfee
Merge pull request #5422 from cakebaker/uucore_remove_incorrect_comment
...
uucore: remove incorrect comment
2023-10-18 18:53:33 +02:00
Zhuoxun Yang
f63f9a06f6
tests/pathchk: test empty path
2023-10-18 22:50:54 +08:00