Commit graph

11426 commits

Author SHA1 Message Date
Sylvestre Ledru
104e707b07 fuzzing: provide a better error management 2023-11-09 17:40:27 +01:00
Sylvestre Ledru
8ab20c4673 fuzz: adjust the fuzzers with the new arg 2023-11-09 10:54:41 +01:00
Sylvestre Ledru
064ad7200c fuzzing function should also return stderr 2023-11-09 10:54:41 +01:00
Sylvestre Ledru
5fed5443e4 fuzz: flush after calling uumain - was failing with printf 2023-11-09 10:54:41 +01:00
Sylvestre Ledru
2e0e88c3ac fuzz: verify the various steps when opening/closing fd 2023-11-09 10:54:41 +01:00
Daniel Hofstetter
6fa8a6d200
Merge pull request #5501 from alexhausen/du-remove-crash-macro
du: remove crash! macro
2023-11-09 10:04:37 +01:00
Terts Diepraam
1cae4981e6
Merge pull request #5508 from cakebaker/cp_fix_test_closes_file_descriptors
cp: make test_closes_file_descriptors Linux-only
2023-11-09 09:45:16 +01:00
Terts Diepraam
9946e77adb
Merge pull request #5514 from Luv-Ray/fix-printf-issue5468
`printf`: support %q
2023-11-09 09:02:44 +01:00
Zhuoxun Yang
fb414ed917 tests/printf: support %q 2023-11-09 10:18:27 +08:00
Zhuoxun Yang
e3ec12233b printf: support %q 2023-11-09 10:17:44 +08:00
Zhuoxun Yang
7279bc1741 printf.md: support %q 2023-11-09 10:16:53 +08:00
Alexandre Hausen
4d40555cd5 fixup! du: remove crash! macro 2023-11-08 20:32:03 -03:00
Sylvestre Ledru
91a91458e7
Merge pull request #5512 from cakebaker/contributing_md_fix_spell_checker_error
CONTRIBUTING.md: spell-checker:ignore "rustdoc's"
2023-11-08 10:42:56 +01:00
Daniel Hofstetter
a26e3db56e CONTRIBUTING.md: spell-checker:ignore "rustdoc's" 2023-11-08 10:00:26 +01:00
Daniel Hofstetter
d473e45c1f
Merge pull request #5488 from tertsdiepraam/contribution-md
Expand CONTRIBUTING.md (WIP)
2023-11-08 09:47:55 +01:00
Daniel Hofstetter
761213f1d2 cp: make test_closes_file_descriptors Linux-only 2023-11-08 09:33:49 +01:00
Terts Diepraam
f5709ded47 CONTRIBUTING.md: move and shorten commit message advice 2023-11-07 16:47:17 +01:00
Sylvestre Ledru
4a3efadf70
Merge pull request #5506 from cakebaker/du_h_dereference_args
du: add -H (alias for --dereference-args)
2023-11-07 13:05:41 +01:00
Terts Diepraam
188b26e8aa
Merge pull request #5504 from cakebaker/du_use_blocks
du: use blocks to remove some cfgs
2023-11-07 12:03:41 +01:00
Taylor
6678c17c52
mktemp: add func to expose functionality (for use in nushell) (#5479)
* mktemp: add func to expose functionality

* mktemp: cleanup
2023-11-07 11:43:58 +01:00
Terts Diepraam
1a457c00aa CONTRIBUTING.md: start on git etiquette 2023-11-07 11:37:17 +01:00
Daniel Hofstetter
7afb8461cb du: add -H (alias for --dereference-args) 2023-11-07 10:30:54 +01:00
Daniel Hofstetter
993a995f8a du: remove unnecessary return 2023-11-06 10:22:01 +01:00
Daniel Hofstetter
2571af8ede du: use blocks to remove some cfgs 2023-11-06 10:15:47 +01:00
Sylvestre Ledru
1818632d7c
Merge pull request #5496 from cakebaker/cp_tail_fix_warnings_in_tests
cp,tail: fix warnings in tests on Android
2023-11-06 07:51:32 +01:00
Sylvestre Ledru
73cdd65e7c
Merge pull request #5497 from cakebaker/du_ignore_test_under_android
du: ignore test under Android & FreeBSD
2023-11-06 07:51:09 +01:00
Alexandre Hausen
e11878e7ba du: remove crash! macro 2023-11-05 20:58:04 -03:00
Daniel Hofstetter
692e82916d
Merge pull request #5498 from uutils/renovate/libc-0.x
chore(deps): update rust crate libc to 0.2.150
2023-11-05 17:11:43 +01:00
Daniel Hofstetter
7f5b6b0d20
Merge pull request #5494 from Statheres/fix/clippy-implicit-clone
Fix clippy::implicit_clone
2023-11-05 15:20:59 +01:00
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