lsmem: sort tests

This commit is contained in:
Foorack 2025-02-09 12:06:19 +01:00
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"]);