skill: add basic implementation

This commit is contained in:
Bluemangoo
2025-07-14 11:51:50 +08:00
parent a28367ca47
commit a0e61a90c7
12 changed files with 304 additions and 121 deletions
+13
View File
@@ -0,0 +1,13 @@
// This file is part of the uutils procps package.
//
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
use uutests::new_ucmd;
use uutests::util::TestScenario;
use uutests::util_name;
#[test]
fn test_no_args() {
new_ucmd!().fails().code_is(1);
}
+4
View File
@@ -63,6 +63,10 @@ mod test_top;
#[path = "by-util/test_vmstat.rs"]
mod test_vmstat;
#[cfg(feature = "skill")]
#[path = "by-util/test_skill.rs"]
mod test_skill;
#[cfg(feature = "snice")]
#[path = "by-util/test_snice.rs"]
mod test_snice;