R-1270 follow-up (found live on 9202): remove with „delete its backups too” deletes the app's restore-undo folder too — a not-started restore's kept copy outlived the remove; the wiring test also pins the D47 set-aside removal. Red-proved. Commit only.
gates / gates (push) Successful in 1m29s
gates / gates (push) Successful in 1m29s
This commit is contained in:
@@ -33,7 +33,10 @@ func TestR474_RemoveHandlerDeletesUnitMirrorAndPrefs(t *testing.T) {
|
||||
})
|
||||
}
|
||||
joined := " " + strings.Join(sel, " ") + " "
|
||||
for _, want := range []string{"RecoveryUnitPath", "Tier2MirrorDirsForApp", "RemoveTier2Mirrors", "DeleteAppBackupPrefs"} {
|
||||
// 2026-10-25: the set-aside units of earlier installs (D47) and the restore's kept undo copy (found live on 9202: a
|
||||
// not-started restore's copy outlived the app's remove with its backups) go too.
|
||||
for _, want := range []string{"RecoveryUnitPath", "Tier2MirrorDirsForApp", "RemoveTier2Mirrors", "DeleteAppBackupPrefs",
|
||||
"SetAsideDirsForApp", "RemoveSetAsideUnits", "RestoreUndoDir"} {
|
||||
if !strings.Contains(joined, " "+want+" ") {
|
||||
t.Errorf("removeStack must call %s", want)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user