Commit graph

11310 commits

Author SHA1 Message Date
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
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
Zhuoxun Yang
1ab8555a94 pathchk: check empty path 2023-10-18 22:50:43 +08:00
Daniel Hofstetter
a2defd1a21 uucore: remove incorrect comment 2023-10-18 16:34:35 +02:00
Sylvestre Ledru
1cfd1192e8
Merge pull request #5419 from cakebaker/fuzzing_expr_lc_collate
fuzz: set LC_COLLATE=C for expr
2023-10-18 12:03:23 +02:00
Daniel Hofstetter
12765a445e fuzz: set LC_COLLATE=C for expr 2023-10-18 10:20:28 +02:00
Daniel Hofstetter
7a608196dc
Merge pull request #5356 from terade/refactoring_prompt_file
`rm`: refactor `prompt_file`, issue #5345
2023-10-18 07:04:22 +02:00
Daniel Hofstetter
895e13683c
Merge pull request #5416 from Luv-Ray/fix-expr-issue5411
`expr`: return 0 for `"" \| ""`
2023-10-17 17:30:46 +02:00
terade
b6a6a4dc65 rm: apply suggestion of retrieving metatada in function 2023-10-17 17:26:27 +02:00
zhitkoff
abc95361a5 prase_size: comments 2023-10-17 10:50:50 -04:00
zhitkoff
74e01e3987 parse_size: more test case coverage 2023-10-17 10:50:50 -04:00
zhitkoff
7038657a44 implement R and Q prefixes 2023-10-17 10:50:50 -04:00
zhitkoff
cb7479e823 uucore: implement SI suffixes R and Q 2023-10-17 10:50:50 -04:00
Zhuoxun Yang
d325a952ee expr: return "0" for | 2023-10-17 22:27:47 +08:00
Zhuoxun Yang
8a67224917 expr: add assert for & 2023-10-17 22:27:10 +08:00
Zhuoxun Yang
04ab5b0108 tests/expr: add tests for "" 2023-10-17 22:26:19 +08:00
Zhuoxun Yang
7421c81a22 tests/expr: sort test cases 2023-10-17 22:21:44 +08:00
Daniel Hofstetter
f18055835c
Merge pull request #5415 from uutils/renovate/regex-1.x
chore(deps): update rust crate regex to 1.10.2
2023-10-17 07:08:59 +02:00
renovate[bot]
3288c64b00
chore(deps): update rust crate regex to 1.10.2 2023-10-16 16:33:17 +00:00
Daniel Hofstetter
ce0cf7a569
Merge pull request #5367 from sylvestre/join
join: remove a clippy::cognitive_complexity by moving some content in functions
2023-10-16 11:41:47 +02:00
Sylvestre Ledru
f8436728dc
add field_reassign_with_default ignore
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-16 10:47:38 +02:00
Sylvestre Ledru
6c10934465
Merge pull request #5413 from cakebaker/doc_add_missing_word
doc: add a missing "a"
2023-10-16 10:01:29 +02:00
Daniel Hofstetter
21aca7abd7 doc: add a missing "a" 2023-10-16 09:48:20 +02:00
Daniel Hofstetter
541ac6a813
Merge pull request #5403 from sylvestre/rm
rm: In some cases, remove_dir is doing a better job than remove_dir_all
2023-10-16 09:35:44 +02:00
Sylvestre Ledru
3a780453a9 join: remove a clippy::cognitive_complexity by moving some content into functions 2023-10-16 08:15:02 +02:00
Daniel Hofstetter
17c044567b
Merge pull request #5412 from uutils/renovate/dns-lookup-2.x
fix(deps): update rust crate dns-lookup to 2.0.4
2023-10-16 06:59:25 +02:00
renovate[bot]
c892c9346f
fix(deps): update rust crate dns-lookup to 2.0.4 2023-10-15 17:59:54 +00:00
Sylvestre Ledru
73b7c46131
Merge pull request #5409 from sylvestre/version-22
0.0.21 => 0.0.22
2023-10-15 15:50:01 +02:00
Daniel Hofstetter
569b0a9b38
Merge pull request #5408 from Luv-Ray/fix-expr-syntex-error
`expr`: fix expr syntax error
2023-10-15 15:34:57 +02:00
Daniel Hofstetter
89b03ae6dd
Merge pull request #5410 from sylvestre/release-version
update of the release doc
2023-10-15 15:19:33 +02:00
Sylvestre Ledru
fcd0817b3b update of the release doc 2023-10-15 14:34:16 +02:00