Emilia Daelman and Daniel Hofstetter
8eb77a08b6
uutests: preserve PATH in UCommand to fix NixOS test failures
...
This ensures that the PATH environment variable is preserved even when cleared, allowing tests to find system utilities on NixOS where they are not in standard locations like /bin.
Fixes #10756
2026-02-16 10:37:57 +01:00
xtqqczze and Daniel Hofstetter
3d56517f7f
Add rust-version field to all Cargo.toml files
2026-02-07 14:56:50 +01:00
✿ Fleur de Blue and GitHub
01f3e32d16
chore: Enable workspace lints in uutest crate ( #10727 )
2026-02-05 08:08:39 +01:00
xtqqczze
710fc1be3d
fix(deps): refactor rlimit package configuration
2026-01-24 10:59:35 +00:00
xtqqczze
bd7e523ef3
fix(deps): refactor xattr package configuration
2026-01-23 17:34:05 +00:00
xtqqczze and Daniel Hofstetter
f19b9f0066
fix(deps): refactor nix package configuration
2026-01-23 10:54:20 +01:00
xtqqczze and GitHub
b2b584ec5f
uutests: replace unsafe libc::stat with nix::stat ( #10364 )
...
No functional change intended.
2026-01-20 11:55:54 +01:00
xtqqczze
c9268934c0
clippy: fix borrow_as_ptr lint
...
https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
2025-12-18 00:19:14 +00:00
oech3 and GitHub
5c2b8dc065
util.rs: Update obsolete comments
2025-12-12 20:05:11 +09:00
Chris Dryden and GitHub
29adc24d0e
Adding TTY helper for unix to be able to create tests for stty and more ( #9348 )
...
* Adding TTY helper for unix to be able to create tests for stty and more
* removing missing flag on github actions and spellcheck ignore
2025-11-21 23:40:00 +01:00
Daniel Hofstetter and GitHub
4f45042cb5
Merge pull request #9097 from cakebaker/rustdoc_fix_link
...
rustdoc: fix broken intra doc links
2025-11-02 14:03:23 +01:00
yuankunzhang
4b36064303
who: honor locale settings
2025-09-01 22:36:54 +08:00
Anonymous-AAA
bfbdf10d3f
cp: fix recursive socket file copy
2025-08-13 08:25:34 +05:30
Nicolas Boichat
95bbaaa552
tests/uutests/Cargo.toml: Pull ctor from workspace
2025-08-11 11:04:04 +08:00
Daniel Hofstetter
30f300c52b
clippy: fix "hiding a lifetime" warnings
...
from mismatched_lifetime_syntaxes lint
2025-08-07 16:12:03 +02:00
Jonas Jelten and GitHub
79bbf52a21
Merge pull request #8343 from TheJJ/fix-mknod-mode
...
mknod: set cli specified file mode even when it's 0o666
2025-07-29 11:53:21 +02:00
Nicolas Boichat
6884e29f97
test_df: Use lossy stdout string
...
The tests fail when a non-UTF8 path is mounted, that's... not a
common case, but using a lossy string works just as well for the
tests, so let's use that.
2025-07-24 09:39:18 +08:00
Nicolas Boichat
7e6e9c291e
uutests: Change dir_exists to take a templated AsRef<Path>
...
Similar to what file_exists does, allows us to pass an OsStr to the
function.
Also change symlink_exists, for consistency.
2025-07-22 17:25:59 +08:00
Tomasz Guz
a060344c6b
uutests: improve error message for non-empty stderr
2025-07-10 14:54:02 +02:00
Yuri Astrakhan
4fa9af4953
chore: cleanup unused dependencies
2025-07-02 19:47:23 -04:00
Dorian Peron
6e23d4e979
tests: patch tests to simplify imports
2025-07-01 03:36:46 +02:00
Dorian Péron and GitHub
56ce0e28ad
cksum: Fix file quoting on stderr ( #8272 )
...
* cksum: handle escaping in stderr for file errors
* uutests: Minor fix and stdX_contains_bytes feature
* test(cksum): add test for stderr escaping
2025-06-29 22:07:27 +02:00
Yuri Astrakhan and GitHub
60c55d7c07
chore: cleanup workspace crates ( #8058 )
...
* chore: cleanup workspace crates
* properly add all crates to the workspace cargo.toml as members
* except `fuzz` because it still has some issues, TBD
* use quotes around `true` and `false` to ensure there is no bool confusion
* remove a few leftover readme comments
* mark all unpublishable crates as `publish = false` to avoid accidental publishing
* Add `uutests` to the main workspace
* grammar
* a bit more cleanup based on feedback
* revert true/false
* Update tests/benches/factor dependencies
2025-06-06 13:56:08 +02:00
jsondevers
2e1c91f682
fixed link to repo on uutests docs
2025-04-26 18:36:21 -07:00
Ben Wiederhake
11cd0b1bbf
replace Error::new(ErrorKind::Other, _) as suggested by clippy
...
See also:
https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error
2025-04-13 04:35:38 +02:00