Commit graph

12985 commits

Author SHA1 Message Date
renovate[bot]
2658454cde
chore(deps): update rust crate zip to v1.3.0 2024-05-18 05:20:10 +00:00
Daniel Hofstetter
202f699c83
Merge pull request #6410 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.61
2024-05-18 07:08:55 +02:00
Sylvestre Ledru
514d810371 cksum: improve the blake2b detection algo corner case 2024-05-17 22:09:41 +02:00
Sylvestre Ledru
db58d2b6b5 cksum: when length/bits can't be divided by 8, generate an error 2024-05-17 22:08:53 +02:00
Sylvestre Ledru
1b78102a6b cksum: fails in case of unknown algo 2024-05-17 20:21:14 +02:00
renovate[bot]
bee19e1b57
chore(deps): update rust crate thiserror to v1.0.61 2024-05-17 18:11:27 +00:00
Sylvestre Ledru
aa8147f575
Merge pull request #6408 from cakebaker/downgrade_libc
Downgrade `libc` to `0.2.153`
2024-05-17 20:10:37 +02:00
Sylvestre Ledru
89e96b1755
Merge pull request #6405 from cakebaker/cp_remove_macos_12
cp: remove `target_os = "macos-12"`
2024-05-17 20:09:49 +02:00
Daniel Hofstetter
3ce6794cb0 Downgrade libc to 0.2.153 2024-05-17 07:31:15 +02:00
Daniel Hofstetter
a8483e4896 cp: remove 'target_os = "macos-12"' 2024-05-16 16:26:50 +02:00
Sylvestre Ledru
0e5614de2d
Merge pull request #6402 from RenjiSann/main
ls: fix quoting alignment, add tests for default quoting style in TTY and quoting alignment
2024-05-16 09:52:08 +02:00
Sylvestre Ledru
9c52ca8d55 cksum: also handle the case when the line start with ' \' 2024-05-15 11:46:58 +02:00
Dorian Péron
105024e708 ls: Fix quoting alignment 2024-05-15 09:59:38 +02:00
Dorian Péron
147c0b6962 tests(ls): Test space alignment when quoting is involved on grid output 2024-05-15 09:59:38 +02:00
Dorian Péron
0209c90b4e tests(ls): Test default quoting style on TTY output 2024-05-15 09:59:38 +02:00
Sylvestre Ledru
58c2b5d421 cksum: add failing tests - to be fixed 2024-05-14 23:27:50 +02:00
Sylvestre Ledru
115b203b22 cksum: also show the error on stdout 2024-05-14 23:27:50 +02:00
Sylvestre Ledru
07d579c40a cksum: handle the empty lines (and just spaces) 2024-05-14 23:27:50 +02:00
Sylvestre Ledru
bbd80e4061 cksum: various improvements/fixes 2024-05-14 23:27:47 +02:00
Sylvestre Ledru
843275a136 cksum/blake2b: improve the error management 2024-05-14 23:21:56 +02:00
Sylvestre Ledru
8ddb2131df cksum/blake2b, when length=512, don't add it in the line 2024-05-14 23:21:56 +02:00
Sylvestre Ledru
1aec8b407d chksum: add support of --check --algorithm=xxx 2024-05-14 23:21:56 +02:00
Sylvestre Ledru
0b04bcaf9a uucore: create a new function to manage the warning/error display 2024-05-14 23:21:53 +02:00
Sylvestre Ledru
81500ae3b8 cksum: implement check & strict 2024-05-12 21:20:58 +02:00
Sylvestre Ledru
5f0b48e649 cksum: use the qualified import to make its provenance clear 2024-05-12 21:20:58 +02:00
Sylvestre Ledru
7e33650c8c cksum: move the length mgmt into a function + add tests 2024-05-12 21:20:58 +02:00
Sylvestre Ledru
23d5235e7c
Merge pull request #6391 from cakebaker/docs_uptime_extension
docs: add `-s`/`--since` of `uptime` to extensions
2024-05-12 16:37:37 +02:00
Sylvestre Ledru
096d32c148
Merge pull request #6395 from cakebaker/cp_tail_use_ignore_to_disable_tests
cp/tail: use `#[ignore]` to disable tests
2024-05-12 16:37:07 +02:00
Daniel Hofstetter
320bdcf29e tail: remove useless use of vec! in test 2024-05-12 15:32:24 +02:00
Daniel Hofstetter
692cdfac34 cp/tail: use #[ignore] to disable tests
instead of a cfg attribute
2024-05-12 15:15:44 +02:00
Daniel Hofstetter
e3468ba429
docs: improve uptime section
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-05-12 14:26:59 +02:00
Anirban Halder
1a5639b7d2
Fix ls: panicking on dangling symlink with --color=auto -l (#6346)
* Fixed unwrap being called on dereferenced dangling symlink

* Added test

* Switched to regex matching in test

* Remove unnecessary mkdir call

* Modified documentation of the test and added assertion of the colors

* Fixed a typo
2024-05-11 21:07:44 +02:00
Daniel Hofstetter
dddf9f26d6
Merge pull request #6394 from uutils/renovate/zip-1.x-lockfile
chore(deps): update rust crate zip to v1.2.3
2024-05-11 13:16:57 +02:00
renovate[bot]
4f3c067ac7
chore(deps): update rust crate zip to v1.2.3 2024-05-11 07:24:29 +00:00
Daniel Hofstetter
826b18e7ac docs: add -s/--since of uptime to extensions 2024-05-10 16:20:07 +02:00
Daniel Hofstetter
5ea75b5939
Merge pull request #6389 from uutils/renovate/zip-1.x-lockfile
chore(deps): update rust crate zip to v1.2.2
2024-05-10 07:09:04 +02:00
renovate[bot]
5ed2fb3e38
chore(deps): update rust crate zip to v1.2.2 2024-05-09 18:42:38 +00:00
Jadi
9303f8e5b1 Disabling compare_xattrs cp and mv related tests on OpenBSD
The test_cp and test_mv have xattr related tests. They should
be disabled on OpenBSD after commit 19d42c0339 disabled the
compare_xattrs function on OpenBSD.

Fixes #6348
2024-05-09 18:24:39 +02:00
Sylvestre Ledru
b029e27dd8
Merge pull request #6388 from cakebaker/tail_ignore_some_tests
tail: use `#[ignore]` to disable tests
2024-05-09 15:46:19 +02:00
Daniel Hofstetter
0ad7389b61 tail: remove #[cfg(not(windows))] from const 2024-05-09 15:28:34 +02:00
Daniel Hofstetter
aef7933d96 tail: use #[ignore] to disable tests
instead of a cfg attribute
2024-05-09 15:07:10 +02:00
Anirban Halder
97f8361737 Switched to using at.symlink_file instead of ln in tests 2024-05-08 23:50:33 +02:00
Anirban Halder
88d9d46abc Added test for dangling symlink in target directory 2024-05-08 23:50:33 +02:00
Anirban Halder
1f81912b3c Added assertion of stderr strings for macos and windows and fixed lints 2024-05-08 23:50:33 +02:00
Anirban Halder
f7e55b1322 Added overwrite detection for existing symlinks 2024-05-08 23:50:33 +02:00
Daniel Hofstetter
8078fca99b stdbuf: rename dragonflybsd to dragonfly 2024-05-08 20:19:42 +02:00
Daniel Hofstetter
50988f5d07 uucore: remove support for Bitrig 2024-05-08 15:43:26 +02:00
Sylvestre Ledru
eb6f1df3bc cksum: add an ignored test for issue 6375 2024-05-07 20:24:25 +02:00
Sylvestre Ledru
ee2772925a cksum: --tag & --untagged - the order of usage matters. manage it 2024-05-07 20:24:25 +02:00
Sylvestre Ledru
9e080a3684 cksum: handle a corner case 2024-05-07 20:24:25 +02:00