diff --git a/src/restic/snapshot_filter_test.go b/src/restic/snapshot_filter_test.go index 64e8ccc13..46257fb50 100644 --- a/src/restic/snapshot_filter_test.go +++ b/src/restic/snapshot_filter_test.go @@ -239,7 +239,7 @@ func TestApplyPolicy(t *testing.T) { t.Logf("test %d: forget snapshot at %v %s\n", i, sn.Time, sn.Tags) } - goldenFilename := filepath.Join("testdata", fmt.Sprintf("expired_snapshots_%d", i)) + goldenFilename := filepath.Join("testdata", fmt.Sprintf("policy_keep_snapshots_%d", i)) if *updateGoldenFiles { buf, err := json.MarshalIndent(keep, "", " ") diff --git a/src/restic/testdata/expired_snapshots_0 b/src/restic/testdata/policy_keep_snapshots_0 similarity index 100% rename from src/restic/testdata/expired_snapshots_0 rename to src/restic/testdata/policy_keep_snapshots_0 diff --git a/src/restic/testdata/expired_snapshots_1 b/src/restic/testdata/policy_keep_snapshots_1 similarity index 100% rename from src/restic/testdata/expired_snapshots_1 rename to src/restic/testdata/policy_keep_snapshots_1 diff --git a/src/restic/testdata/expired_snapshots_10 b/src/restic/testdata/policy_keep_snapshots_10 similarity index 100% rename from src/restic/testdata/expired_snapshots_10 rename to src/restic/testdata/policy_keep_snapshots_10 diff --git a/src/restic/testdata/expired_snapshots_11 b/src/restic/testdata/policy_keep_snapshots_11 similarity index 100% rename from src/restic/testdata/expired_snapshots_11 rename to src/restic/testdata/policy_keep_snapshots_11 diff --git a/src/restic/testdata/expired_snapshots_12 b/src/restic/testdata/policy_keep_snapshots_12 similarity index 100% rename from src/restic/testdata/expired_snapshots_12 rename to src/restic/testdata/policy_keep_snapshots_12 diff --git a/src/restic/testdata/expired_snapshots_13 b/src/restic/testdata/policy_keep_snapshots_13 similarity index 100% rename from src/restic/testdata/expired_snapshots_13 rename to src/restic/testdata/policy_keep_snapshots_13 diff --git a/src/restic/testdata/expired_snapshots_14 b/src/restic/testdata/policy_keep_snapshots_14 similarity index 100% rename from src/restic/testdata/expired_snapshots_14 rename to src/restic/testdata/policy_keep_snapshots_14 diff --git a/src/restic/testdata/expired_snapshots_15 b/src/restic/testdata/policy_keep_snapshots_15 similarity index 100% rename from src/restic/testdata/expired_snapshots_15 rename to src/restic/testdata/policy_keep_snapshots_15 diff --git a/src/restic/testdata/expired_snapshots_16 b/src/restic/testdata/policy_keep_snapshots_16 similarity index 100% rename from src/restic/testdata/expired_snapshots_16 rename to src/restic/testdata/policy_keep_snapshots_16 diff --git a/src/restic/testdata/expired_snapshots_17 b/src/restic/testdata/policy_keep_snapshots_17 similarity index 100% rename from src/restic/testdata/expired_snapshots_17 rename to src/restic/testdata/policy_keep_snapshots_17 diff --git a/src/restic/testdata/expired_snapshots_18 b/src/restic/testdata/policy_keep_snapshots_18 similarity index 100% rename from src/restic/testdata/expired_snapshots_18 rename to src/restic/testdata/policy_keep_snapshots_18 diff --git a/src/restic/testdata/expired_snapshots_2 b/src/restic/testdata/policy_keep_snapshots_2 similarity index 100% rename from src/restic/testdata/expired_snapshots_2 rename to src/restic/testdata/policy_keep_snapshots_2 diff --git a/src/restic/testdata/expired_snapshots_3 b/src/restic/testdata/policy_keep_snapshots_3 similarity index 100% rename from src/restic/testdata/expired_snapshots_3 rename to src/restic/testdata/policy_keep_snapshots_3 diff --git a/src/restic/testdata/expired_snapshots_4 b/src/restic/testdata/policy_keep_snapshots_4 similarity index 100% rename from src/restic/testdata/expired_snapshots_4 rename to src/restic/testdata/policy_keep_snapshots_4 diff --git a/src/restic/testdata/expired_snapshots_5 b/src/restic/testdata/policy_keep_snapshots_5 similarity index 100% rename from src/restic/testdata/expired_snapshots_5 rename to src/restic/testdata/policy_keep_snapshots_5 diff --git a/src/restic/testdata/expired_snapshots_6 b/src/restic/testdata/policy_keep_snapshots_6 similarity index 100% rename from src/restic/testdata/expired_snapshots_6 rename to src/restic/testdata/policy_keep_snapshots_6 diff --git a/src/restic/testdata/expired_snapshots_7 b/src/restic/testdata/policy_keep_snapshots_7 similarity index 100% rename from src/restic/testdata/expired_snapshots_7 rename to src/restic/testdata/policy_keep_snapshots_7 diff --git a/src/restic/testdata/expired_snapshots_8 b/src/restic/testdata/policy_keep_snapshots_8 similarity index 100% rename from src/restic/testdata/expired_snapshots_8 rename to src/restic/testdata/policy_keep_snapshots_8 diff --git a/src/restic/testdata/expired_snapshots_9 b/src/restic/testdata/policy_keep_snapshots_9 similarity index 100% rename from src/restic/testdata/expired_snapshots_9 rename to src/restic/testdata/policy_keep_snapshots_9