mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 17:28:03 +00:00
15 lines
246 B
Rust
15 lines
246 B
Rust
|
#[macro_use]
|
||
|
mod common;
|
||
|
|
||
|
use common::util::*;
|
||
|
|
||
|
static UTIL_NAME: &'static str = "false";
|
||
|
|
||
|
|
||
|
#[test]
|
||
|
fn test_exit_code() {
|
||
|
let (_, mut ucmd) = testing(UTIL_NAME);
|
||
|
let exit_status = ucmd.run().success;
|
||
|
assert_eq!(exit_status, false);
|
||
|
}
|