Commit graph

11554 commits

Author SHA1 Message Date
renovate[bot]
4f14a9d552
chore(deps): update rust crate libc to 0.2.150 2023-11-05 13:50:12 +00:00
Daniel Hofstetter
bbdde2890a du: ignore test under Android & FreeBSD 2023-11-05 14:27:20 +01:00
Daniel Hofstetter
91b19b7c56 cp,tail: fix warnings in tests on Android 2023-11-05 13:56:39 +01:00
Kostiantyn Hryshchuk
6ac1af6953 Fix clippy::implicit_clone 2023-11-04 21:04:29 +01:00
Brandon Elam Barker
44d105d015
Add support in uucore for illumos and solaris (#5489)
* uucore support for illumos and solaris

* use macro to consolidate illumos and solaris signals

* fixing some CI issues

* replaced macro with better cfg usage
2023-11-04 12:31:11 +01:00
Sylvestre Ledru
347bded33f
Merge pull request #5491 from cakebaker/du_no_dereference
du: add --no-dereference
2023-11-04 08:56:32 +01:00
Daniel Hofstetter
29f6631554 du: add -P/--no-dereference 2023-11-03 17:17:44 +01:00
Terts Diepraam
d7b256be7b CONTRIBUTING.md: write Design Goals section 2023-11-03 11:44:19 +01:00
Sylvestre Ledru
1c7a788093
Merge pull request #5478 from cakebaker/deny_toml_remove_items_from_skip_list
deny.toml: remove two entries from skip list
2023-11-03 08:51:43 +01:00
Daniel Hofstetter
f8c474ecb3
Merge pull request #5449 from zhitkoff/split-suffix-length-refactor
split: suffix length refactor
2023-11-03 08:28:48 +01:00
Daniel Hofstetter
0cad85f2fb
Merge pull request #5486 from tertsdiepraam/cp-remove-crash-call
`cp`: remove `crash!` call
2023-11-03 08:23:24 +01:00
Terts Diepraam
3d0c8ae6e7 Expand CONTRIBUTING.md (WIP) 2023-11-02 18:41:16 +01:00
zhitkoff
62887c7a58 split: directory separator in additional suffix 2023-11-02 17:17:38 +01:00
zhitkoff
f05474a33a split: slash separator 2023-11-02 17:17:38 +01:00
zhitkoff
8372a3d2cc split: refactor filename suffix 2023-11-02 17:17:38 +01:00
zhitkoff
fbb454a080 split: suffix auto-widening and auto-width tests 2023-11-02 17:17:38 +01:00
zhitkoff
733359d48b split: refactor suffix auto-widening and auto-width 2023-11-02 17:17:38 +01:00
Terts Diepraam
a6522e0114 cp: remove crash! call
It seems to be unnecessary since we have already made the path relative
using `construct_dest_path`.
2023-11-02 16:23:31 +01:00
Terts Diepraam
98ad01b1cc
Merge pull request #5471 from cakebaker/cp_fix_unused_variable_warnings
cp: restrict two test functions to linux/mac/win
2023-11-01 09:11:38 +01:00
tommady
615b562b64
github action: split the run of the fuzzers (#5444)
* fix-5443 by using strategy
2023-10-31 09:08:40 +01:00
tommady
a4775d288b
cp: fix cp -rT dir dir2 leads to different result than with GNU cp (#5467)
* add a test case test_cp_treat_dest_as_a_normal_file

* fix 5457

* cp: fix comment

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-30 17:55:03 +01:00
Sylvestre Ledru
72193f8adc
Merge pull request #5477 from cakebaker/cat_eloop
cat: use error code 62 for ELOOP on FreeBSD
2023-10-30 10:02:25 +01:00
Daniel Hofstetter
6e114fe203 deny.toml: remove two entries from skip list
rustix & linux-raw-sys
2023-10-30 09:26:47 +01:00
Daniel Hofstetter
5c047afe5e
Merge pull request #5474 from uutils/renovate/procfs-0.x
chore(deps): update rust crate procfs to 0.16
2023-10-30 09:16:57 +01:00
Daniel Hofstetter
f39ab620a6 cat: use error code 62 for ELOOP on FreeBSD 2023-10-30 07:14:26 +01:00
renovate[bot]
d899787ba6
chore(deps): update rust crate procfs to 0.16 2023-10-29 17:04:13 +00:00
Daniel Hofstetter
a7cc3b6dca cp: restrict two test functions to linux/mac/win 2023-10-29 14:37:47 +01:00
Daniel Hofstetter
9697f56e94
Merge pull request #5462 from kostikbel/main
freebsd: fix the 'df' command
2023-10-29 13:51:16 +01:00
Daniel Hofstetter
580c0fb250
Merge pull request #5470 from Luv-Ray/fuzz
fuzz: use parse_size_u64
2023-10-29 13:36:29 +01:00
Zhuoxun Yang
6a468e928d fuzz: use parse_size_u64 2023-10-29 18:54:40 +08:00
Sylvestre Ledru
c24a51403a
cat: return the same error message as GNU with loop symlink (#5466)
* cat: return the same error message as GNU with loop symlink

Should fix tests/du/long-sloop.sh because it is using cat as a ref
for error messages

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-28 22:29:24 +02:00
Sylvestre Ledru
64916b0698
Merge pull request #5469 from cakebaker/remove_last_synced_comments
Remove "last synced with" comments
2023-10-28 18:20:58 +02:00
Terts Diepraam
bdfe5f1cc6 Merge branch 'printf-rewrite' of github.com:tertsdiepraam/coreutils into printf-rewrite 2023-10-28 17:36:49 +02:00
Terts Diepraam
f117fc1bab printf rewrite: fix compilation 2023-10-28 17:36:43 +02:00
Terts Diepraam
69b7095eac printf rewrite: fix compilation 2023-10-28 17:34:04 +02:00
Daniel Hofstetter
e887944ef1 Remove "last synced with" comments 2023-10-28 16:53:09 +02:00
Terts Diepraam
28810906a3 Merge branch 'main' into printf-rewrite 2023-10-28 16:35:58 +02:00
Mick van Gelderen
5c100dd088
mv: Fix stderr output mv file into dir and dir into file where both are files (#5464)
* Add tests mv file into dir and dir into file where both are files

* Fix test_mv_dir_into_file_where_both_are_files

* Fix test_mv_file_into_dir_where_both_are_files

* Store String in error instead of PathBuf

* Implement path_ends_with_terminator for windows

* Fix compilation on windows
2023-10-28 15:04:51 +02:00
Daniel Hofstetter
9f63ae6645
fsext: add getmntinfo to spell-checker:ignore 2023-10-27 14:25:41 +02:00
Konstantin Belousov
11f56a79af freebsd: fix the 'df' command
df, and perhaps other commands, get the list of the mounted filesystems
with the call to getmntinfo(3).  Since Rust still use FreeBSD 11.x ABI
for filesystem metadata call, it should use matching versioned symbol for
getmntinfo from libc.
2023-10-27 12:38:20 +03:00
Sylvestre Ledru
5dbbdb4788
Merge pull request #5458 from cakebaker/cp_attributes_only_test
cp: add test for --attributes-only
2023-10-27 10:52:23 +02:00
Daniel Hofstetter
9f5db29145 cp: add test for --attributes-only 2023-10-27 09:34:31 +02:00
Daniel Hofstetter
e1cc796569
Merge pull request #5454 from cakebaker/mv_rename_vars
mv: rename canonized_* -> canonicalized_*
2023-10-27 09:32:32 +02:00
Daniel Hofstetter
12cff46f1c
Merge pull request #5461 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.8.1
2023-10-27 07:05:11 +02:00
renovate[bot]
391b422ce1
chore(deps): update rust crate tempfile to 3.8.1 2023-10-26 23:04:43 +00:00
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