summaryrefslogtreecommitdiffstats
path: root/tests/pipeline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pipeline.rs')
-rw-r--r--tests/pipeline.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pipeline.rs b/tests/pipeline.rs
index a8eb1d9..0da1612 100644
--- a/tests/pipeline.rs
+++ b/tests/pipeline.rs
@@ -223,7 +223,7 @@ fn i5_a_restarted_build_resumes_at_the_next_incomplete_step() {
pipeline::Outcome::Failed { .. }
));
let builds_after_crash =
- aur_build::shims::called_with(&env.cfg.shim_dir.clone().unwrap(), "makechrootpkg", "");
+ aur_build::shims::called_with(&env.cfg.hooks.shim_dir.clone().unwrap(), "makechrootpkg", "");
assert_eq!(builds_after_crash, 2, "one real build before the crash");
// "Restart": same build row, no fault. Steps 0-8 are checkpointed as
@@ -234,7 +234,7 @@ fn i5_a_restarted_build_resumes_at_the_next_incomplete_step() {
other => panic!("{other:?}"),
}
assert_eq!(
- aur_build::shims::called_with(&env.cfg.shim_dir.clone().unwrap(), "makechrootpkg", ""),
+ aur_build::shims::called_with(&env.cfg.hooks.shim_dir.clone().unwrap(), "makechrootpkg", ""),
builds_after_crash,
"I5: resuming must not rebuild"
);