lsmem: sort tests
This commit is contained in:
parent
8fa6345470
commit
89eeb23806
@ -26,19 +26,6 @@ fn test_invalid_arg() {
|
||||
new_ucmd!().arg("--definitely-invalid").fails().code_is(1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_columns_table() {
|
||||
sysroot_test_with_args("test_lsmem_columns_table.expected", &["-o", "block,size"]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_columns_raw() {
|
||||
sysroot_test_with_args(
|
||||
"test_lsmem_columns_raw.expected",
|
||||
&["-o", "block,size", "-r"],
|
||||
);
|
||||
}
|
||||
|
||||
// FAILS, COMMENT FOR NOW - TODO
|
||||
// #[test]
|
||||
// fn test_columns_json() {
|
||||
@ -56,6 +43,19 @@ fn test_columns_pairs() {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_columns_raw() {
|
||||
sysroot_test_with_args(
|
||||
"test_lsmem_columns_raw.expected",
|
||||
&["-o", "block,size", "-r"],
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_columns_table() {
|
||||
sysroot_test_with_args("test_lsmem_columns_table.expected", &["-o", "block,size"]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_json() {
|
||||
sysroot_test_with_args("test_lsmem_json.expected", &["-J"]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user