lsmem: make printable columns override split columns if no split columns are provided
This commit is contained in:
@@ -120,6 +120,15 @@ fn test_split_node() {
|
||||
sysroot_test_with_args("test_lsmem_split_node.expected", &["-S", "node"]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_split_output_default() {
|
||||
// If split is not provided, then it defaults to splitting on the provided(or default) columns
|
||||
sysroot_test_with_args(
|
||||
"test_lsmem_split_output_default.expected",
|
||||
&["-o", "block,size,zones,node"],
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_split_removable() {
|
||||
sysroot_test_with_args("test_lsmem_split_removable.expected", &["-S", "removable"]);
|
||||
|
Reference in New Issue
Block a user