coreutils/tests/by-util/test_df.rs

24 lines
375 B
Rust
Raw Normal View History

use crate::common::util::*;
2020-04-28 07:34:55 +00:00
#[test]
fn test_df_compatible_no_size_arg() {
2021-04-22 20:37:44 +00:00
new_ucmd!().arg("-a").succeeds();
}
2020-04-28 07:34:55 +00:00
#[test]
fn test_df_compatible() {
2021-04-22 20:37:44 +00:00
new_ucmd!().arg("-ah").succeeds();
2020-04-28 07:34:55 +00:00
}
#[test]
fn test_df_compatible_type() {
2021-04-22 20:37:44 +00:00
new_ucmd!().arg("-aT").succeeds();
}
#[test]
fn test_df_compatible_si() {
2021-04-22 20:37:44 +00:00
new_ucmd!().arg("-aH").succeeds();
}
// ToDO: more tests...