Sylvestre Ledru
413638c789
Improve the GNU ci analysis: display the root test changes too ( #5728 )
...
* try to compare the root results too
* Add debug info in the logs
* rename the variable for something more explicit
* Improve intermittent doc
2023-12-27 08:46:33 +01:00
Darius
edbb7d5b02
join: fixed parameter
...
basenc: fixed parameter
cut: fixed parameter
mkdir: fixed parameter
nohup: fixed parameter
pr: fixed parameter
printenv: fixed parameter
printf: added parameters
runcon: fixed typo
shuf: fixed typo
sum: fixed typo
uniq: fixed parameter
unlink: fixed parameter
2023-12-26 16:13:18 +01:00
Sylvestre Ledru
e26f4c7f36
Merge pull request #5727 from cakebaker/du_simplify_file_creation_in_tests
...
du: simplify file creation in tests
2023-12-26 16:12:52 +01:00
Sylvestre Ledru
167acb5147
Merge pull request #5484 from cakebaker/cp_l_with_dest_hardlink_to_source
...
cp --link: don't fail if destination is hardlink to source
2023-12-26 16:12:15 +01:00
Daniel Hofstetter
2d260ded58
du: use concat! to improve readability in tests
2023-12-26 15:19:45 +01:00
Daniel Hofstetter
37c83ec480
du: simplify file creation in tests
2023-12-26 15:15:02 +01:00
Sylvestre Ledru
30eb77ac79
du: implement files0-from ( #5721 )
...
* du: implement files0-from
Should make tests/du/files0-from-dir pass
* du: prepare tests/du/files0-from.pl
* fix the build on Windows
* add testfile to the ignore list
* remove useless comment
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
* mkdir is enough
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
* address review comments
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-26 14:40:31 +01:00
Daniel Hofstetter
4acc96fee3
Merge pull request #5726 from jetlime/clippy_suppress_cognitive_complexity_warning
...
Address cognitive complexity
2023-12-26 14:04:00 +01:00
Paul Houssel
eb3dd521ee
touch: address cognitive_complexity lint
...
Signed-off-by: Paul Houssel <paul.houssel@telecom-sudparis.eu>
2023-12-26 13:02:00 +01:00
Paul Houssel
da43183fc7
cat: address cognitive_complexity lint
...
Signed-off-by: Paul Houssel <paul.houssel@telecom-sudparis.eu>
2023-12-26 13:02:00 +01:00
Sylvestre Ledru
6d2486c096
Merge pull request #5503 from cakebaker/du_unused_du_basics
...
du: call unused _du_basics() in test_du_basics()
2023-12-25 22:38:27 +01:00
Sylvestre Ledru
6e9d1abbb9
Merge pull request #5142 from uutils/renovate/ubuntu-22.x
...
chore(deps): update dependency ubuntu to v22
2023-12-25 22:24:55 +01:00
Sylvestre Ledru
0fb4d8843c
Merge pull request #5455 from n1000/freebsd_fixes_push_3
...
tests/test: Ensure the test fixture files have the expected gid
2023-12-25 22:03:15 +01:00
Sylvestre Ledru
db9f4cc315
Merge pull request #5483 from cakebaker/mv_fix_5481
...
mv: fix subdir detection
2023-12-25 22:02:23 +01:00
Sylvestre Ledru
628819701d
Merge pull request #5530 from cakebaker/du_test_posixly_correct
...
du: test behavior with POSIXLY_CORRECT set
2023-12-25 22:01:25 +01:00
Daniel Hofstetter
f10c6f1d56
Merge pull request #5699 from sylvestre/mv-cp-seen
...
cp/mv/ln: add support for the "will not overwrite just-created"
2023-12-25 14:58:50 +01:00
Daniel Hofstetter
a2fdeb4d1f
Merge pull request #5725 from uutils/sylvestre-patch-3
...
Disable fuzzing seq until issue #5724 is fixed
2023-12-25 14:33:52 +01:00
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