1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

fix: df: filter filesystem types after mount point resolution (#7452)

Closes: #6194
This commit is contained in:
Sergei Patiakin 2025-04-17 22:06:20 +02:00 committed by GitHub
parent d68e288602
commit 4190fe22ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 33 additions and 57 deletions

View file

@ -303,6 +303,12 @@ fn test_type_option_with_file() {
.fails()
.stderr_contains("no file systems processed");
// Assume the mount point at /dev has a different filesystem type to the mount point at /
new_ucmd!()
.args(&["-t", fs_type, "/dev"])
.fails()
.stderr_contains("no file systems processed");
let fs_types = new_ucmd!()
.arg("--output=fstype")
.succeeds()