Commit graph

12258 commits

Author SHA1 Message Date
kralo
9adceb4f65 factor: rename input parameter
Closes: #5883
2024-01-28 08:24:16 +01:00
Sylvestre Ledru
1b88c3edee
Merge pull request #5891 from kralo/fix-5885
cp: remove lint exceptions
2024-01-28 08:21:07 +01:00
kralo
12dd1e4d7d cp: remove lint exceptions
Could not even reproduce what they would complain for.
Closes: #5885
2024-01-27 19:21:05 +01:00
Sylvestre Ledru
6e09cbaefd
Merge pull request #5890 from kralo/fix-5884
factor: remove clippy exceptions by reformatting "unreadable literals"
2024-01-27 18:56:01 +01:00
kralo
3eba95728c factor: remove clippy exceptions by reformatting "unreadable literals"
Closes: #5884
2024-01-27 17:23:44 +01:00
Daniel Hofstetter
12f0972df4 fuzzing: use LC_ALL instead of LC_COLLATE 2024-01-27 15:04:12 +01:00
Sylvestre Ledru
ae5f2bc0d0
Merge pull request #5875 from cakebaker/expand_make_tab_explicit_in_test
expand: make tab explicit in test
2024-01-26 14:36:48 +01:00
Sylvestre Ledru
e580627506
Merge pull request #5886 from cakebaker/cut_set_exit_code
cut: set exit code to 1 if directory is specified
2024-01-26 14:36:28 +01:00
Daniel Hofstetter
79ac89e3f2
Merge pull request #5887 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.0.6
2024-01-26 13:26:12 +01:00
renovate[bot]
7f1f08c8bc
chore(deps): update vmactions/freebsd-vm action to v1.0.6 2024-01-26 10:17:43 +00:00
Daniel Hofstetter
c8cd355708 cut: set exit code to 1 if dir is specified 2024-01-26 10:18:44 +01:00
Daniel Hofstetter
5bd00eb791 cut: split test function into two functions 2024-01-26 10:09:28 +01:00
Daniel Hofstetter
3318e16608
Merge pull request #5880 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.33
2024-01-25 16:15:47 +01:00
renovate[bot]
51fd22e41b
chore(deps): update rust crate chrono to ^0.4.33 2024-01-25 14:27:17 +00:00
Daniel Lungu
61c730d1b3
expand: Continue work when one of given files doesn't exist (#5873)
* expand: continues work when one of given files doesn't exist

* fixed test for nonexisting file
2024-01-25 09:10:59 +01:00
Sylvestre Ledru
1693640446 whoami: add missing feature 2024-01-24 21:33:25 +01:00
Biplab Mochan Gartia
150b287fe8
unexpand: allow multiple files & show error message if a directory is specified
* unexpand: should allow multiple files #5852 and unexpand: show error message if a directory is specified #5845

* test file added for #5845 #5852

* test case test_multiple_files improve

* cakebaker suggestion for a better code #5845 #5852

---------

Co-authored-by: biplab5464 <biplab5464@outlook.com>
2024-01-24 16:01:26 +01:00
Daniel Hofstetter
8c4c6a53ec expand: make tab explicit in test 2024-01-24 09:46:27 +01:00
Daniel Hofstetter
60d9151c3d Bump smallvec from 1.13.0 to 1.13.1 2024-01-24 08:28:40 +01:00
Daniel Hofstetter
5e26898731 Bump shlex from 1.1.0 to 1.3.0 2024-01-23 07:11:56 +01:00
Daniel Hofstetter
f790349ffb
Merge pull request #5870 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.32
2024-01-23 07:02:54 +01:00
renovate[bot]
e050fa9c8c
chore(deps): update rust crate chrono to ^0.4.32 2024-01-22 23:21:22 +00:00
Sylvestre Ledru
8493800d4f
fuzzing: print the diff in case of issue (#5866)
* fuzzing: print the diff in case of issue

* Simplify the code

* fuzz: remove unused import similar::ChangeTag

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-22 08:06:13 +01:00
Daniel Hofstetter
5f28b5005e
Merge pull request #5867 from uutils/renovate/regex-1.x
chore(deps): update rust crate regex to 1.10.3
2024-01-22 07:09:00 +01:00
renovate[bot]
5006db2e92
chore(deps): update rust crate regex to 1.10.3 2024-01-21 16:53:53 +00:00
Daniel Hofstetter
d690e8fb99
Merge pull request #5752 from sylvestre/0.0.24
0.0.23 => 0.0.24
2024-01-21 13:35:10 +01:00
Daniel Hofstetter
f124910226
Merge pull request #5865 from sylvestre/md5sum-escape
hashsum: when the filename contains some special chars, escape them
2024-01-21 12:55:08 +01:00
Sylvestre Ledru
dd5c6c2d00 0.0.23 => 0.0.24 2024-01-20 20:12:19 +01:00
Sylvestre Ledru
cfb8e5919c
Merge pull request #5863 from lcheylus/openbsd-tests
tests: disable tests for tools unsupported on OpenBSD
2024-01-20 19:59:47 +01:00
Sylvestre Ledru
5e29c60b26 hashsum: when the filename contains some special chars, escape them
Should fix tests/cksum/md5sum-newline.pl
2024-01-20 19:27:45 +01:00
Laurent Cheylus
4589f637ee tests: disable tests for tools unsupported on OpenBSD
pinky, uptime and who are not supported on OpenBSD (no support of utmpx feature) => disable tests
for these tools on OpenBSD with conditional compilation

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-01-19 17:37:45 +01:00
SaHHiiLL
746a7b14d0
tsort: returns error when input is dir - same as GNU tsort (#5860)
* fix: return error when input is dir

* test: when tsort is given a dir

* fix: do not need to mention tsort in error message

* test: using concrete directory name

* tsort: fix formatting in test

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-19 15:39:00 +01:00
Daniel Hofstetter
63ef7e4fdf
Merge pull request #5859 from uutils/renovate/davidanson-markdownlint-cli2-action-15.x
chore(deps): update davidanson/markdownlint-cli2-action action to v15
2024-01-19 11:10:32 +01:00
Daniel Hofstetter
ec0ea959fb
Merge pull request #5862 from uutils/renovate/smallvec-1.x
chore(deps): update rust crate smallvec to 1.13
2024-01-19 10:54:40 +01:00
renovate[bot]
b363064e48
chore(deps): update davidanson/markdownlint-cli2-action action to v15 2024-01-19 09:38:39 +00:00
renovate[bot]
667a9469c4
chore(deps): update rust crate smallvec to 1.13 2024-01-19 09:23:10 +00:00
Daniel Hofstetter
10b8c1c996
Merge pull request #5856 from uutils/renovate/actions-cache-4.x
chore(deps): update actions/cache action to v4
2024-01-18 07:01:29 +01:00
renovate[bot]
12758be6c6
chore(deps): update actions/cache action to v4 2024-01-17 17:09:22 +00:00
Sylvestre Ledru
b7a14ac119
Merge pull request #5825 from tertsdiepraam/codecov-uucore-features
CI: test `uucore` with `coreutils` in codecov to run it with the proper features
2024-01-17 11:51:02 +01:00
Terts Diepraam
61de1dc23a uucore/sum: fix crlf test 2024-01-17 10:44:33 +01:00
Terts Diepraam
3bd9f0ec65
Merge pull request #5811 from spineki/fix-printf-hex-alternate-zero
Printf: Fix printf hex alternate zero
2024-01-17 10:28:30 +01:00
Ulrich Hornung
dc533a915a
install: fix strip program stdout and destination hyphen handling #5718 (#5848)
* Fix missing dependency to "process" to make it compile.

* fix issue of not forwarding stdout from strip program

* fix issue of applying "./" redundantly

* cargo fmt
2024-01-17 10:07:34 +01:00
Daniel Hofstetter
55b7b2fcb5
Merge pull request #5835 from sylvestre/mv-acl
mv: preserve the xattr
2024-01-16 13:56:37 +01:00
Sylvestre Ledru
69c8753f80 cp test: use compare_xattrs from tests/utils 2024-01-16 13:12:02 +01:00
Sylvestre Ledru
3872aca9c6 spell: ignore getxattr 2024-01-16 13:12:02 +01:00
Sylvestre Ledru
66637a6503 move the file_has_acl function into uucore 2024-01-16 13:12:02 +01:00
Sylvestre Ledru
2ec4e9f784 mv: preserve the xattr
Should make tests/mv/acl pass
2024-01-16 13:12:02 +01:00
Sylvestre Ledru
238fb776ad test: add a function to compare the xattr between two files.
used by cp & mv (at least)
2024-01-16 13:12:02 +01:00
Sylvestre Ledru
fe3f8293ef uucore: add a new feature called fsxattr 2024-01-16 13:11:58 +01:00
Daniel Hofstetter
112eb21eb3
Merge pull request #5791 from sylvestre/handle-error
Handle better some errors
2024-01-15 15:19:10 +01:00