D22: every restore puts the data back exactly on failure and after a power cut (R-1177, R-1195); whole restore asks the unit first (R-1178); no mirror during a restore (R-1180); W22 restore refusals in Hungarian; unreleased
gates / gates (push) Successful in 1m40s
gates / gates (push) Successful in 1m40s
This commit is contained in:
@@ -109,7 +109,8 @@ func undoCopies(t *testing.T, root string) []string {
|
||||
t.Helper()
|
||||
var out []string
|
||||
_ = filepath.Walk(root, func(p string, fi os.FileInfo, _ error) error {
|
||||
if fi != nil && !fi.IsDir() {
|
||||
// the volume copies only — since R-1195 the copy also carries undo.json and the live definition
|
||||
if fi != nil && !fi.IsDir() && strings.HasSuffix(p, ".tar") {
|
||||
out = append(out, p)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user