row 240: the N1 test drops its after hook, which threw ENOENT after the fixture removed the root (first slot run, 06:18Z)
This commit is contained in:
@@ -295,7 +295,8 @@ test('row 233: sequence 7: two upgrades and a rollback --to the previous copy wi
|
||||
test('row 240: I3 N1: a failed args move after A5 exits 5 args-failed, the new copy live and confirmed and both args files kept',async(t)=>{
|
||||
const e=await useed(t);
|
||||
// A read-only /etc/mosaic-stack at confirm: the stage and the render are done, and the move fails.
|
||||
arm(e,'confirm.sh',`chmod 0555 ${e.etc}\n`);t.after(()=>chmodSync(e.etc,0o755));
|
||||
// The fixture's cleanup runs chmod -R u+w before it removes the root, so the 0555 dir needs no hook here.
|
||||
arm(e,'confirm.sh',`chmod 0555 ${e.etc}\n`);
|
||||
const l=await upgrade(e,C1);assert.equal(l.code,5,l.all);
|
||||
assert.deepEqual(names(e),[...PRE,...A2,'stage','render','confirm','args','result']);
|
||||
assert.ok(slog(e).includes(`args rc=1 copy: ${C1}`));
|
||||
|
||||
Reference in New Issue
Block a user