vmstat: add test for --stats

This commit is contained in:
Bluemangoo
2025-07-24 15:48:37 +08:00
parent 05127ea2ec
commit ad8598e116
+6
View File
@@ -81,3 +81,9 @@ fn test_timestamp() {
.unwrap()
.contains("timestamp"));
}
#[test]
#[cfg(target_os = "linux")]
fn test_stats() {
new_ucmd!().arg("-s").succeeds();
}