A closed Atomic repository directory: the writable handle is dropped before the verifier opens its own read-only handle (single redb lock).
()
| 325 | /// A closed Atomic repository directory: the writable handle is dropped |
| 326 | /// before the verifier opens its own read-only handle (single redb lock). |
| 327 | fn atomic_repo_dir() -> TempDir { |
| 328 | let dir = TempDir::new().unwrap(); |
| 329 | let _repo = Repository::init(dir.path()).unwrap(); |
| 330 | // The receiving boundary is also a Git repository (hook deployment). |
| 331 | git2::Repository::init(dir.path()).unwrap(); |
| 332 | dir |
| 333 | } |
| 334 | |
| 335 | #[test] |
| 336 | fn empty_input_fails_closed() { |