Daniel Hofstetter
9bb725cefc
clippy: fix warnings introduced by Rust 1.75
2023-12-28 18:17:06 +01:00
Daniel Hofstetter
76fedf60ce
Merge pull request #5735 from sylvestre/install-root
...
install: Manages permissions when run as root
2023-12-28 17:24:59 +01:00
Daniel Hofstetter
47be57caa6
Merge pull request #5741 from uutils/renovate/xattr-1.x
...
chore(deps): update rust crate xattr to 1.2.0
2023-12-28 16:42:52 +01:00
Sylvestre Ledru
d82ee771aa
install: Add a test to cover recent changes
2023-12-28 16:34:09 +01:00
renovate[bot]
efa7f8b4f7
chore(deps): update rust crate xattr to 1.2.0
2023-12-28 15:03:19 +00:00
Sylvestre Ledru
2c0f15be55
install: if run as root, revert the uid & gid to root
2023-12-28 10:06:13 +01:00
Sylvestre Ledru
0fb3ffb8ad
install: document the need_copy function
2023-12-28 10:05:44 +01:00
Sylvestre Ledru
c0206c5ea4
install: document the need_copy function
2023-12-28 10:05:28 +01:00
Sylvestre Ledru
ce18f8a2a1
install: split the need_copy check
2023-12-28 10:03:42 +01:00
Daniel Hofstetter
179f0a7c3c
Merge pull request #5733 from sylvestre/getegid_geteuid
...
use our getegid & geteuid wrappers function instead of libc calls
2023-12-28 08:49:34 +01:00
Sylvestre Ledru
ad16313c59
head: -c allocate memory as needed ( #5704 )
...
* head: -c allocate memory as needed
Improve the execution of tests/head/head-c.sh
* simplify the code
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-28 07:15:01 +01:00
Sylvestre Ledru
4e9dbe3aa4
Merge pull request #5734 from sylvestre/improv-skip
...
dd/chroot: improve the skip message (not root)
2023-12-28 01:04:00 +01:00
Sylvestre Ledru
764ea34c37
dd/chroot: improve the skip message (not root)
2023-12-28 00:44:19 +01:00
Sylvestre Ledru
c38a43210c
use our getegid & geteuid wrappers function instead of libc calls
2023-12-28 00:35:20 +01:00
Sylvestre Ledru
04a7f9c153
Merge pull request #5731 from cakebaker/cp_backup_with_dest_a_symlink
...
cp: fix backup of destination symlink
2023-12-27 19:58:07 +01:00
Daniel Hofstetter
0701f535ac
cp: fix backup of destination symlink
2023-12-27 15:39:54 +01:00
Matei Mantu
bf26eda786
install: remove / from end of path if it exists so as not to mess with .exists() ( #5730 )
...
* remove / from end of path if it exists so as not to mess with .exists()
* install: fix / removal from path
* Fix clippy warnings
* Add test for install target ends with /
2023-12-27 13:37:17 +01:00
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