Skip to content

Commit a8ca5aa

Browse files
committed
test(runner): fail when the granted run did not execute the script (TM-943)
1 parent ac11e2f commit a8ca5aa

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎crates/tmgr-runner/tests/sandbox_clone_write.rs‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,13 @@ fn measure_source_objects_write_through_alternates() {
270270
.unwrap_or(false),
271271
),
272272
);
273+
assert_eq!(out_line(&o, "ctl"), "0", "{} {}", o.stdout, o.stderr);
274+
assert!(
275+
out_line(&o, "chmod").parse::<i32>().is_ok(),
276+
"{} {}",
277+
o.stdout,
278+
o.stderr
279+
);
273280
assert_source_mode_kept(&sdir, &o, mode_changed);
274281
assert_eq!(existing.metadata().unwrap().mode(), mode_before);
275282
}

0 commit comments

Comments
 (0)