(root: &Path, home: &Path, args: &[&str])
| 75 | } |
| 76 | |
| 77 | fn atomic(root: &Path, home: &Path, args: &[&str]) -> Output { |
| 78 | Command::new(ATOMIC_BIN) |
| 79 | .args(args) |
| 80 | .current_dir(root) |
| 81 | .env("HOME", home) |
| 82 | .env("ATOMIC_HOME", home.join(".atomic")) |
| 83 | .output() |
| 84 | .expect("run atomic") |
| 85 | } |
| 86 | |
| 87 | #[test] |
| 88 | fn capture_preserves_tracked_repository_bytes_and_live_state() { |