Commit graph

12956 commits

Author SHA1 Message Date
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
Sylvestre Ledru 234f2f9508 cksum: handle an error like GNU 2024-05-07 20:24:25 +02:00
Sylvestre Ledru 10d8fd6f98 cksum: add binary and prepare the rest 2024-05-07 20:24:25 +02:00
Sylvestre Ledru dc5342d115 hashsum: allow multiple usage of -l and take the last one
tested by gnu/tests/cksum/b2sum.sh
2024-05-07 20:24:25 +02:00
Daniel Hofstetter b64183b0de fmt: use "unwrap()" instead of "?" in tests 2024-05-07 20:20:59 +02:00
Sylvestre Ledru 263f4a0377
Merge pull request #6373 from cakebaker/deny_toml_remove_hashbrown
deny.toml: remove hashbrown, update comment
2024-05-07 09:56:19 +02:00
Daniel Hofstetter fde887c6b3
Merge pull request #6372 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.82
2024-05-07 08:27:48 +02:00
Daniel Hofstetter 0e9ce5044b
Merge pull request #6362 from BenWiederhake/dev-fmt-error-priority
fmt: fix error priority, make goal-errors more helpful
2024-05-07 08:11:17 +02:00
Daniel Hofstetter 67922d60d5 deny.toml: remove hashbrown, update comment 2024-05-07 07:57:41 +02:00
Daniel Hofstetter 25ba369577
Merge pull request #6371 from uutils/renovate/zip-1.x-lockfile
chore(deps): update rust crate zip to v1.2.1
2024-05-07 07:49:59 +02:00
Daniel Hofstetter de995e39a7
Merge pull request #6370 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.60
2024-05-07 07:48:15 +02:00
Daniel Hofstetter 3249a954fe
Merge pull request #6369 from uutils/renovate/num-bigint-0.x-lockfile
chore(deps): update rust crate num-bigint to v0.4.5
2024-05-07 07:46:37 +02:00
renovate[bot] 1ea628a69e
fix(deps): update rust crate proc-macro2 to v1.0.82 2024-05-07 05:45:55 +00:00
Daniel Hofstetter 9e82bf518a
Merge pull request #6367 from uutils/renovate/num-prime-0.x-lockfile
chore(deps): update rust crate num-prime to v0.4.4
2024-05-07 07:43:51 +02:00
renovate[bot] 71b2bb7f1d
chore(deps): update rust crate zip to v1.2.1 2024-05-07 04:34:10 +00:00
renovate[bot] a9c6a71198
chore(deps): update rust crate thiserror to v1.0.60 2024-05-07 04:34:04 +00:00
renovate[bot] 3ce1df7b21
chore(deps): update rust crate num-bigint to v0.4.5 2024-05-07 00:22:17 +00:00
Ben Wiederhake ea18cfd3d8 fmt: fix error priority, make goal-errors more helpful 2024-05-06 19:36:39 +02:00
renovate[bot] c8c848dda6
chore(deps): update rust crate num-prime to v0.4.4 2024-05-06 17:33:58 +00:00
renovate[bot] 417e92009b chore(deps): update rust crate zip to v1.2.0 2024-05-06 19:32:26 +02:00
Sylvestre Ledru 421f3a9371
Merge pull request #6349 from jadijadi/disabling-xattrs-openbsd
Disabling xattrs tests on OpenBSD
2024-05-05 21:52:16 +02:00
ahmadabd a3d05e5945 fmt: value of minlength should not be negative
closes #6354
2024-05-05 21:08:38 +02:00
Daniel Hofstetter f9b4fada14
Merge pull request #6355 from BenWiederhake/dev-fmt-repeated-args
fmt: accept repeated arguments
2024-05-05 17:44:14 +02:00
Ben Wiederhake a13949b4ba fmt: add basic tests for split-only, prefix, and skip-prefix args 2024-05-05 17:03:28 +02:00
Ben Wiederhake e76f92c212 fmt: accept repeated arguments 2024-05-05 16:13:46 +02:00
Daniel Hofstetter c2d55b4f84
Merge pull request #6356 from lcheylus/clippy-openbsd
Disable clippy::assigning_clones on OpenBSD
2024-05-05 13:06:33 +02:00
Laurent Cheylus 14258b12ad
tail: disable clippy::assigning_clones on OpenBSD
- Avoid error on OpenBSD stable/7.5 with clippy (lint)
- assigning_clones added in Rust 1.78.0 (1.76 used on OpenBSD 7.5)
https://rust-lang.github.io/rust-clippy/master/index.html#/assigning_clones

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-05-05 11:36:35 +02:00
Laurent Cheylus 7a556a6e82
cp: disable clippy::assigning_clones on OpenBSD
- Avoid error on OpenBSD stable/7.5 with clippy (lint)
- assigning_clones added in Rust 1.78.0 (1.76 used on OpenBSD 7.5)
https://rust-lang.github.io/rust-clippy/master/index.html#/assigning_clones

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-05-05 11:36:35 +02:00
Laurent Cheylus 225a1052a7
df: disable clippy::assigning_clones on OpenBSD
- Avoid error on OpenBSD stable/7.5 with clippy (lint)
- assigning_clones added in Rust 1.78.0 (1.76 used on OpenBSD 7.5)
https://rust-lang.github.io/rust-clippy/master/index.html#/assigning_clones

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-05-05 11:36:35 +02:00
Daniel Hofstetter 945d20a9db
Merge pull request #6347 from uutils/renovate/zip-1.x
chore(deps): update rust crate zip to 1.1.4
2024-05-05 09:33:11 +02:00