Commit graph

12155 commits

Author SHA1 Message Date
Daniel Hofstetter
5cbf6c2059
Merge pull request #5750 from sylvestre/disable-freebsd
cp: Disable a test failing on freebsd
2023-12-31 10:39:22 +01:00
Sylvestre Ledru
5fc01f718a
Merge pull request #5747 from Ato2207/fix_docs
Fix docs issues.
2023-12-30 19:28:54 +01:00
Sylvestre Ledru
193bcf86b7 cp: Disable a test failing on freebsd 2023-12-30 17:00:44 +01:00
Daniel Hofstetter
8fe1b2619c
Merge pull request #5749 from DitherWither/main
cksum: Add --length argument for the blake2b algorithm
2023-12-30 16:46:41 +01:00
Vardhan Patil
d990021572 cksum: remove redundant guard 2023-12-30 20:39:09 +05:30
Vardhan Patil
1fc6a760f3 tests/cksum: fix formatting 2023-12-30 20:31:52 +05:30
Vardhan Patil
e7cb4e9ff0 cksum: properly handle cases where --lenghth is 0 or >512 2023-12-30 20:28:03 +05:30
Vardhan Patil
e1863ac64e tests/cksum: test when the --length argument is 0 or >512 2023-12-30 20:14:30 +05:30
Atomei Alexandru
5ade45f8e9
Merge branch 'main' into fix_docs 2023-12-30 15:43:54 +02:00
Vardhan Patil
aec0cfa6e3 cksum: remove commented code 2023-12-30 16:05:20 +05:30
Vardhan Patil
7caa0bcdea cksum: fix formatting in cksum.rs 2023-12-30 16:02:10 +05:30
Vardhan Patil
09ef150085 tests/cksum: add tests for the length argument 2023-12-30 16:01:22 +05:30
Vardhan Patil
037073d852 cksum: make the output formatting match GNU 2023-12-30 15:59:29 +05:30
Sylvestre Ledru
138b11efbd
remove extra spaces 2023-12-30 09:53:32 +01:00
Vardhan Patil
231987b109 cksum: create initial implementation of the --length option 2023-12-30 12:48:19 +05:30
Matei Mantu
21d09dd404
ls: unquoted names should be indented with a space if there is a quoted name (#5740)
* ls: change indentation when file names include quotes to match GNU's

* display_grid: Changed order of parameters because it made more sense

* ls -l: Add padding for unquoted filenames

* Fix checking for quoted filenames

* Simplify if
2023-12-29 15:19:26 +01:00
Sylvestre Ledru
448e4c2224
Merge pull request #5745 from cakebaker/cp_adapt_warning
cp: adapt warning if source is used more than once
2023-12-29 15:09:24 +01:00
Alexandru-Constantin Atomei
d15981650a Fixed one typo 2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
1e5244765d Made one more modification to test usage string. 2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
e61318413e Added documentation for the vdir command. 2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
ce28ae5c02 Fixed more and test docs 2023-12-29 15:08:50 +01:00
Sylvestre Ledru
f8f82774c3
Merge pull request #5696 from dvalere/my-conts
src: Fixing typos in signatures for the argument parser
2023-12-29 15:08:39 +01:00
Daniel Hofstetter
7025619325 cp: adapt warning if source is used more than once 2023-12-29 10:24:08 +01:00
Daniel Hofstetter
91080b152f
Merge pull request #5743 from sylvestre/gnu
ls/gnu: ignore the libcap check
2023-12-29 08:15:36 +01:00
Daniel Hofstetter
d0baa8657e
Merge pull request #5744 from uutils/renovate/bstr-1.x
chore(deps): update rust crate bstr to 1.9
2023-12-29 06:52:24 +01:00
renovate[bot]
0ce73e1b02
chore(deps): update rust crate bstr to 1.9 2023-12-28 23:03:37 +00:00
Sylvestre Ledru
55de78037d ls/gnu: ignore the libcap check 2023-12-28 23:21:44 +01:00
Sylvestre Ledru
8c49f4731a
Merge pull request #5742 from cakebaker/clippy_fixes
clippy: fix warnings introduced by Rust 1.75
2023-12-28 18:40:50 +01:00
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