()
| 12 | use assert_cmd::{Command, cargo_bin}; |
| 13 | |
| 14 | fn cmd() -> Command { |
| 15 | let mut cmd = Command::new(cargo_bin!("environmentd")); |
| 16 | cmd.env_clear().timeout(Duration::from_secs(10)); |
| 17 | cmd |
| 18 | } |
| 19 | |
| 20 | /// This test seems a bit tautological, but it protects against Clap defaults |
| 21 | /// changing and overwriting our custom version output. |