(&self, args: &[&str])
| 65 | } |
| 66 | |
| 67 | fn atomic(&self, args: &[&str]) -> Output { |
| 68 | let mut command = Command::new(ATOMIC_BIN); |
| 69 | command |
| 70 | .args(args) |
| 71 | .current_dir(self.root()) |
| 72 | .env("HOME", self.home.path()) |
| 73 | .env("ATOMIC_HOME", self.home.path().join(".atomic")) |
| 74 | .env("ATOMIC_NONINTERACTIVE", "1") |
| 75 | .env("NO_COLOR", "1") |
| 76 | .env("CLICOLOR", "0") |
| 77 | .env("TERM", "dumb") |
| 78 | .stdout(Stdio::piped()) |
| 79 | .stderr(Stdio::piped()); |
| 80 | command.output().expect("wait for atomic") |
| 81 | } |
| 82 | |
| 83 | fn atomic_ok(&self, args: &[&str]) -> Output { |
| 84 | let output = self.atomic(args); |
no test coverage detected