mirror of
https://github.com/restic/restic.git
synced 2026-10-10 20:17:12 +00:00
forget: Add test for "keep all hourly snapshots"
This commit is contained in:
1 parent
b77b0749fa
commit
32e6a438be
2 files changed
+1540
-4
No files matched your search
@@ -241,10 +241,8 @@ func TestApplyPolicy(t *testing.T) {
|
||||
WithinYearly: parseDuration("9999y")},
|
||||
{Last: -1}, // keep all
|
||||
{Last: -1, Hourly: -1}, // keep all (Last overrides Hourly)
|
||||
// {Hourly: -1}, // keep all hourlies
|
||||
// {Daily: -1}, // keep all dailies
|
||||
// {Daily: -1, Weekly: 4}, // keep all dailies and 4 weeklies
|
||||
// {Daily: 3, Weekly: -1}, // keep 3 dailies and all weeklies
|
||||
{Hourly: -1}, // keep all hourlies
|
||||
// {Daily: 3, Weekly: 2, Monthly: -1, Yearly: -1},
|
||||
}
|
||||
|
||||
for i, p := range tests {
|
||||
|
||||
+1538
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user