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