mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
fix: df: filter filesystem types after mount point resolution (#7452)
Closes: #6194
This commit is contained in:
parent
d68e288602
commit
4190fe22ef
2 changed files with 33 additions and 57 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue