Commit graph

11828 commits

Author SHA1 Message Date
Daniel Hofstetter
03f1b8aa3a mv: fix subdir detection 2023-12-25 13:12:18 +01:00
Sylvestre Ledru
356023b055
Merge pull request #5431 from cakebaker/cp_remove_destination_shouldnt_fail_hardlink
cp --remove-destination: don't fail if destination is hardlink to source
2023-12-25 13:02:50 +01:00
Sylvestre Ledru
527b6e7693
Merge pull request #5051 from tertsdiepraam/deps-nu-shell
Add nushell dependency analysis script
2023-12-25 12:56:41 +01:00
Daniel Hofstetter
863c022352
Merge pull request #5723 from sylvestre/tee-warning
tee test: fix a warning on not(linux)
2023-12-25 11:47:13 +01:00
Sylvestre Ledru
6ce9d84232
Merge pull request #5532 from cakebaker/df_fix_5531
df: fix rounding issue in test
2023-12-25 11:23:48 +01:00
Sylvestre Ledru
840a5bf083
Merge pull request #5700 from cakebaker/ls_block_size_with_k
ls: set correct block size when -k is provided
2023-12-25 11:14:09 +01:00
Sylvestre Ledru
853f73b7c9 tee test: fix a warning on not(linux)
warning: unused import: `std::fmt::Write`
2023-12-25 11:06:24 +01:00
Daniel Hofstetter
6475e6f148
Merge pull request #5660 from sylvestre/stat-free-color
ls: Improve the access to metadata of the files
2023-12-25 08:29:25 +01:00
Daniel Hofstetter
f2ca22e048
Merge pull request #5722 from sylvestre/perl-diff
gnu: Improve the diff when comparing diff
2023-12-24 17:28:52 +01:00
Sylvestre Ledru
3e892de4d5 gnu: Improve the diff when comparing diff 2023-12-24 16:37:43 +01:00
Daniel Hofstetter
270ac90cc1 ls: set correct block size when -k is provided 2023-12-24 16:35:49 +01:00
Daniel Hofstetter
337f5a8aae
Merge pull request #5719 from uutils/sylvestre-patch-3
test_install.rs: Remove a debug artifact
2023-12-24 16:08:13 +01:00
Sylvestre Ledru
0220353c4c
test_install.rs: Remove a debug artifact 2023-12-24 15:26:38 +01:00
Sylvestre Ledru
c5217b3136 ls: remove unused arg check_for_deref 2023-12-24 15:03:34 +01:00
Sylvestre Ledru
18035a5f82 update of the function names in the comment
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-24 14:57:06 +01:00
Sylvestre Ledru
53b3c782ef add a link to d_type doc 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
a3c7359056 ls: refactor the code 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
69f723a263 ls: adjust the tests/ls/stat-free-color.sh as we have less syscall 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
5120acb27a fix a clippy warning 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
445d0af277 ls: rename get_metadata_with_deref_opt 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
147721c24b ls: Improve the access to metadata of the files Should fix tests/ls/stat-free-color.sh 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
95fa81250e ls/color_name: use the DirEntry if available 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
1bd8ce5ddf ls/color_name: use PathData instead of a Path as we want to check for DirEntry 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
c0c5ec25b6 ls: rename a function for something more explicit 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
28d684b5ac ls: add a comment 2023-12-24 14:57:06 +01:00
Sylvestre Ledru
12ade87786
Merge pull request #5716 from cakebaker/bump_crossbeam_crates
Bump crossbeam crates
2023-12-24 14:52:27 +01:00
Sylvestre Ledru
6b8f71116d
Merge pull request #5717 from cakebaker/wc_android
wc: disable part of test on Android
2023-12-24 14:52:08 +01:00
Daniel Hofstetter
4d05f208e0
Merge pull request #5701 from sylvestre/debug
cp: debug with --update=none should show 'skipped'
2023-12-24 14:25:57 +01:00
Daniel Hofstetter
8ede675088
Merge pull request #5712 from sylvestre/shred
shred: improve some output to match GNU's
2023-12-24 14:05:35 +01:00
Daniel Hofstetter
0d05a41f46
Merge pull request #5702 from sylvestre/runcon
runcon: remove trailing '.'
2023-12-24 13:54:52 +01:00
Daniel Hofstetter
df492d34cb wc: disable part of test on Android 2023-12-24 13:20:57 +01:00
Daniel Hofstetter
143705b193 Bump crossbeam crates
crossbeam-channel from 0.5.8 to 0.5.10
crossbeam-deque from 0.8.2 to 0.8.4
crossbeam-epoch from 0.9.14 to 0.9.17
crossbeam-utils from 0.8.15 to 0.8.18
2023-12-24 12:57:21 +01:00
Sylvestre Ledru
c5b08f1c4a shred: improve some output to match GNU's 2023-12-24 11:40:15 +01:00
Sylvestre Ledru
9b78016ac5 runcon: remove trailing '.'
Upstream doesn't have in:
https://github.com/coreutils/coreutils/blob/master/tests/runcon/runcon-no-reorder.sh#L22
2023-12-23 23:03:18 +01:00
Sylvestre Ledru
8685e05f4e cp: debug with --update=none should show 'skipped' 2023-12-23 17:58:05 +01:00
Daniel Hofstetter
be822009f0
Merge pull request #5686 from sylvestre/install-basic
install: with -t, check if we aren't passed a file
2023-12-23 15:33:45 +01:00
Sylvestre Ledru
2832694056
install: support when a hyphen is passed (#5697)
* install: support when a hyphen is passed

Should fix: tests/install/strip-program.sh

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-23 15:29:32 +01:00
Sylvestre Ledru
6b1f51385f
Merge pull request #5693 from cakebaker/ls_second_blocksize
ls: introduce 2nd blocksize & fix todos in tests
2023-12-23 09:57:08 +01:00
Sylvestre Ledru
2635ddf719
Merge pull request #5695 from cakebaker/mv_update_destination_with_trailing_slash
mv: allow destination with slash when using --update
2023-12-23 09:08:08 +01:00
Sylvestre Ledru
9ca7c3e107 install: with -t, check if we aren't passed a file
Should pass tests/install/basic-1
2023-12-22 18:16:23 +01:00
Daniel Hofstetter
1c6317af76 mv: allow dest with slash when using --update 2023-12-22 17:03:59 +01:00
Sylvestre Ledru
18388c0f97
Merge pull request #5694 from malt3/ci/release-artifacts/linux-aarch64-musl
ci: add aarch64-unknown-linux-musl release artifact
2023-12-22 12:58:23 +01:00
Daniel Hofstetter
a8a5931cae ls: introduce 2nd blocksize & fix todos in tests 2023-12-22 11:42:01 +01:00
Malte Poll
311901de3a ci: add aarch64-unknown-linux-musl release artifact 2023-12-22 11:28:26 +01:00
Sylvestre Ledru
546201bd00
fuzz: add the capability to pipe info into fuzz (#5668)
* fuzz: add the capability to pipe info into fuzz

* address the comments

* show the piped message if any
2023-12-21 16:18:00 +01:00
Daniel Hofstetter
6510115d9e
Merge pull request #5680 from tertsdiepraam/fsext-refactor
Fsext refactor
2023-12-21 15:55:30 +01:00
Sylvestre Ledru
e071fd3042
Merge pull request #5684 from allaboutevemirolive/v10_expand
expand: fix duplicate flags
2023-12-21 11:03:09 +01:00
Daniel Hofstetter
0164934afe df: fix rounding issue in test
Set block size to 1 so the returned values are the same values as
used for the calculation of the percentage values
2023-12-21 10:46:11 +01:00
Sylvestre Ledru
95852dbaa5
Merge pull request #5687 from cakebaker/ls_remove_condition
ls: remove condition with unreachable "else" block
2023-12-21 10:44:58 +01:00
Daniel Hofstetter
d305ccde4e
Merge pull request #5689 from tertsdiepraam/fmt
`test/sort`: run cargo fmt
2023-12-21 10:41:08 +01:00