Sylvestre Ledru
2c73e978ba
Merge pull request #5769 from samueltardieu/is-ok-and
...
test: use clearer expression for CI testing
2024-01-01 22:45:37 +01:00
Samuel Tardieu
05d85618e3
test: use clearer expression for CI testing
...
`bool::is_ok_and()` is available in Rust 1.70.0 and above, which is compatible
with the current MSRV.
2024-01-01 21:04:13 +01:00
Sylvestre Ledru
97cb2b2de6
Merge pull request #5764 from cakebaker/mv_simplify_condition
...
mv: simplify condition
2024-01-01 17:45:34 +01:00
Sylvestre Ledru
f53f9b6496
handle the error when stdout is full
...
Avoid panic when using
seq 1 >/dev/full
Should move tests/csplit/csplit-io-err.sh from ERROR to SKIP
2024-01-01 17:00:10 +01:00
Daniel Hofstetter
01e12120c1
mv: simplify condition
2024-01-01 16:48:06 +01:00
Daniel Hofstetter
e2a90c4be9
Merge pull request #5763 from lcheylus/freebsd-docs
...
docs: fix URL for FreeBSD port
2024-01-01 16:40:09 +01:00
Laurent Cheylus
62b101a6c5
docs: fix URL for FreeBSD port
...
- FreeBSD port name is rust-coreutils, fix URL for repology.org
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-01-01 15:56:15 +01:00
Daniel Hofstetter
7ddeba4b98
cp: show no "same file" error for --link a a
2024-01-01 14:30:27 +01:00
Sylvestre Ledru
08f51558bf
fuzz: enable seq as the stalled issue is fixed
2024-01-01 13:27:01 +01:00
Sylvestre Ledru
cdd3492532
fuzz: use thread to bypass the limitation of output
...
Closes : #5724
many thanks to @samueltardieu
2024-01-01 13:26:56 +01:00
Sylvestre Ledru
cbf42189a2
Merge pull request #5757 from cakebaker/cp_show_same_file_error
...
cp: show error if source and destination are same file
2023-12-31 17:05:30 +01:00
Daniel Hofstetter
5673f32c63
cp: show error if source & dest are same file
2023-12-31 16:01:34 +01:00
Daniel Hofstetter
902a128ea8
cp: rename function
...
is_forbidden_copy_to_same_file -> is_forbidden_to_copy_to_same_file
2023-12-31 14:36:18 +01:00
Daniel Hofstetter
2c42623b6e
cp: backup dest symlink linking to source
2023-12-31 14:09:08 +01:00
Daniel Hofstetter
89fd26c9db
Merge pull request #5756 from sylvestre/gnu-rebuilt
...
GNU: Improve the built
2023-12-31 14:00:05 +01:00
Daniel Hofstetter
ed111320dd
Merge pull request #5755 from sylvestre/syntax
...
rm: improve the code a tiny bit
2023-12-31 13:35:25 +01:00
Sylvestre Ledru
3560ec6811
gnu-built: disable some options in the GNU build
2023-12-31 13:08:23 +01:00
Sylvestre Ledru
f23902ff7a
gnu-built: remove the useless sed
...
It will avoid a rebuilding when doing:
bash util/build-gnu.sh && bash util/run-gnu-test.sh ../gnu/tests/rm/empty-inacc.sh
2023-12-31 13:08:14 +01:00
Sylvestre Ledru
b07ea957d3
rm: improve the code a tiny bit
2023-12-31 12:03:42 +01:00
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