mirror of
https://github.com/uutils/coreutils
synced 2024-12-19 01:23:53 +00:00
11 lines
217 B
Rust
11 lines
217 B
Rust
|
use common::util::*;
|
||
|
|
||
|
static UTIL_NAME: &'static str = "true";
|
||
|
|
||
|
#[test]
|
||
|
fn test_exit_code() {
|
||
|
let (_, mut ucmd) = testing(UTIL_NAME);
|
||
|
let exit_status = ucmd.run().success;
|
||
|
assert_eq!(exit_status, true);
|
||
|
}
|