use common::util::*; static UTIL_NAME: &'static str = "false"; fn new_ucmd() -> UCommand { TestScenario::new(UTIL_NAME).ucmd() } #[test] fn test_exit_code() { let exit_status = new_ucmd() .run().success; assert_eq!(exit_status, false); }