Commit graph

11943 commits

Author SHA1 Message Date
Daniel Hofstetter
030fd3d4d2 du: test behavior with POSIXLY_CORRECT set 2023-12-25 13:17:17 +01:00
Daniel Hofstetter
03f1b8aa3a mv: fix subdir detection 2023-12-25 13:12:18 +01:00
Nathan Houghton
1915e3c438 tests/test: Ensure the test fixture files have the expected gid
On some platforms (mostly the BSDs) the test fixture files copied to the
/tmp directory will have a different gid than the current egid (due to
the sticky bit set on the /tmp directory). Fix this before running the
"test" command.
2023-12-25 13:10:22 +01:00
renovate[bot]
97a6df78a4 chore(deps): update dependency ubuntu to v22 2023-12-25 13:07:08 +01:00
Daniel Hofstetter
4946478409 cp: -l don't fail if dest is hardlink to source 2023-12-25 13:03:11 +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
Sylvestre Ledru
e232ec657e
Disable fuzzing seq until the https://github.com/uutils/coreutils/issues/5724 is fixed 2023-12-25 12:36:56 +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
60d71e3f2a ln: disable a test on android 2023-12-25 11:22:04 +01:00
Sylvestre Ledru
f86e314f46 Fix some obvious comment
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-25 11:17:04 +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
15573579cc Fix the windows tests 2023-12-24 15:18:31 +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
ceecac110c ln: manages the 'seen' file list before linking
Should help with tests/mv/childproof.sh
2023-12-23 13:53:26 +01:00
Sylvestre Ledru
c94773f522 mv: make sure it continues when hiting an error 2023-12-23 13:27:00 +01:00
Sylvestre Ledru
9c7fd5e8cb mv: rename the variable to match the name in cp 2023-12-23 13:07:54 +01:00
Sylvestre Ledru
3af8ad0fe6 mv: manages the 'seen' file list before moving
Should help with tests/mv/childproof.sh
2023-12-23 13:07:39 +01:00
Sylvestre Ledru
06c98fbdd3 cp: don't fail when --backup=numbered is passed 2023-12-23 12:48:38 +01:00