1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-17 18:51:05 +00:00
uutils-coreutils/tests
Jeffrey Finkelstein 5bd5cdb7c1 chroot: fix parsing of --userspec argument
Fix the parsing of the `--userspec=USER:GROUP` argument so that the
both the user and the group are optional, and update the error message
to match that of GNU `chroot`. This commit also removes the incorrect
`clap` arguments for `--user` and `--group`. In `chroot --user=USER`,
the `--user` is an abbreviation of `--userspec`, and in `chroot
--group=GROUP`, the `--group` is an abbreviation of `--groups`.

Closes #7040.
2025-01-02 10:26:13 +01:00
..
benches/factor num-prime => '0.4.4' 2024-10-15 22:46:44 +02:00
by-util chroot: fix parsing of --userspec argument 2025-01-02 10:26:13 +01:00
common clippy: it is more idiomatic to use 'Option<&T>' instead of '&Option<T>' 2024-11-29 08:36:54 +01:00
fixtures sort: adapt fixtures to change in unicode-width 2024-12-09 09:20:19 +01:00
test_util_name.rs tests: fix some clippy warnings 2024-05-25 09:06:16 +02:00
tests.rs relpath: remove 2023-10-04 16:13:06 +02:00