coreutils/tests/test_false.rs

11 lines
219 B
Rust
Raw Normal View History

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);
}