5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2024-12-23 17:34:34 +03:00
pve-storage/test
Fabian Ebner 10dfeb9ef0 prune mark: correctly keep track of already included backups
This needs to happen in a separate loop, because some time intervals are not
subsets of others, i.e. weeks and months. Previously, with a daily backup
schedule, having:
* a backup on Sun, 06 Dec 2020 kept by keep-daily
* a backup on Sun, 29 Nov 2020 kept by keep-weekly
would lead to the backup on Mon, 30 Nov 2020 to be selected for keep-monthly,
because the iteration did not yet reach the backup on Sun, 29 Nov 2020 that
would mark November as being covered.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2020-12-14 16:11:29 +01:00
..
disk_tests Update disk_tests/ssd_smart/sde data 2020-10-30 15:25:11 +01:00
archive_info_test.pm archive_info: use timelocal correctly 2020-07-08 10:45:49 +02:00
disklist_test.pm Diskmanage: change parttype uuid detection 2019-07-12 15:37:57 +02:00
filesystem_path_test.pm test: filesystem_path 2020-04-30 18:37:19 +02:00
get_subdir_test.pm test: get_subdir 2020-04-30 18:37:19 +02:00
list_volumes_test.pm test: force ctime to UTC 2020-05-04 11:10:56 +02:00
Makefile storage: test: split archive format/compressor 2020-04-30 18:37:19 +02:00
parse_volname_test.pm Fix: #2124 storage: add zstd support 2020-04-30 18:37:19 +02:00
path_to_volume_id_test.pm Fix: #2124 storage: add zstd support 2020-04-30 18:37:19 +02:00
prune_backups_test.pm prune mark: correctly keep track of already included backups 2020-12-14 16:11:29 +01:00
run_bwlimit_tests.pl add 3 bwlimit tests 2019-04-05 18:15:01 +02:00
run_disk_tests.pl tests: improve error handling of run_disk_tests 2019-06-04 10:27:51 +02:00
run_plugin_tests.pl Add prune_backups to storage API 2020-07-24 15:44:53 +02:00
run_test_zfspoolplugin.pl fix #2085: add mountpoint property for non-default ZFS pool MPs 2019-11-21 12:42:38 +01:00