1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-16 19:56:17 +00:00

Merge pull request #3258 from cakebaker/fix_exclude_type_panic

df: fix panic when using -x argument (#3257)
This commit is contained in:
Sylvestre Ledru 2022-03-15 16:24:15 +01:00 committed by GitHub
commit 748d414946
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -85,6 +85,11 @@ fn test_type_option() {
new_ucmd!().args(&["-t", "ext4", "-t", "ext3"]).succeeds();
}
#[test]
fn test_exclude_type_option() {
new_ucmd!().args(&["-x", "ext4", "-x", "ext3"]).succeeds();
}
#[test]
fn test_total() {
// Example output: