mirror of
https://github.com/restic/restic.git
synced 2025-12-03 21:21:47 +00:00
backend test: Always remove files for TestList
This commit is contained in:
@@ -675,8 +675,6 @@ func (s *Suite) TestBackend(t *testing.T) {
|
||||
t.Fatalf("lists aren't equal, want:\n %v\n got:\n%v\n", IDs, list)
|
||||
}
|
||||
|
||||
// remove content if requested
|
||||
if test.TestCleanupTempDirs {
|
||||
var handles []restic.Handle
|
||||
for _, ts := range testStrings {
|
||||
id, err := restic.ParseID(ts.id)
|
||||
@@ -694,7 +692,6 @@ func (s *Suite) TestBackend(t *testing.T) {
|
||||
test.OK(t, s.delayedRemove(t, b, handles...))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TestDelete tests the Delete function.
|
||||
func (s *Suite) TestDelete(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user