(&self, args: &[&str])
| 101 | } |
| 102 | |
| 103 | fn atomic(&self, args: &[&str]) -> Output { |
| 104 | let mut command = Command::new(ATOMIC_BIN); |
| 105 | command |
| 106 | .args(args) |
| 107 | .current_dir(self.root()) |
| 108 | .env("HOME", self.home.path()) |
| 109 | .env("ATOMIC_HOME", self.home.path().join(".atomic")) |
| 110 | .env("ATOMIC_NONINTERACTIVE", "1") |
| 111 | .env("NO_COLOR", "1") |
| 112 | .env("CLICOLOR", "0") |
| 113 | .env("TERM", "dumb") |
| 114 | .stdout(Stdio::piped()) |
| 115 | .stderr(Stdio::piped()); |
| 116 | command.output().expect("wait for atomic") |
| 117 | } |
| 118 | |
| 119 | fn atomic_ok(&self, args: &[&str]) -> Output { |
| 120 | let output = self.atomic(args); |
no test coverage detected