Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-02-07 | DB/remove_archive: Properly handle cases where the DB is empty after removal | Florian Pritz | 1 | -0/+49 | |
Empty here means that the DB does not contain any backup archive information because all information that is already in the db has to be removed. The old code tries to copy existing data into the new table, but since there are no archives to copy data for, the sql query fails. Also, it would copy all rows and only populate the path column, but if there are no archives that have timestamps, that's actually useless work. This patch ensures that the table is kept empty if there are no archives. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2019-02-07 | t/handle_added_archives: Document weird test | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2019-02-07 | t/handle_added_archives: Add test for removal of archives | Florian Pritz | 1 | -0/+23 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-13 | handle_added_archives_with_db.t: Add file that is removed in second backup | Florian Pritz | 1 | -0/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-12 | handle_added_archives_with_db.t: Add 2nd top level directory to test | Florian Pritz | 1 | -0/+21 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Test if adding an archive updates existing rows correctly | Florian Pritz | 1 | -0/+79 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | handle_added_archives_with_db.t: Extend to verify that PathTimeTable/DB ↵ | Florian Pritz | 1 | -0/+10 | |
caching doesn't cause problems Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | handle_added_archives_with_db.t: Use new_no_defaults instead of new | Florian Pritz | 1 | -3/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Use strictures instead of strict/warnings | Florian Pritz | 11 | -21/+11 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Get settings via hash instead of direct variable access | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-08 | Add TAP log adapter to all tests | Florian Pritz | 8 | -1/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | t/handle_added_archives: Check for paths that should not be part of the db | Florian Pritz | 1 | -0/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | Test handled_added_archives with Memory and DB storage | Florian Pritz | 1 | -30/+35 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | Add handle_added_archives db test | Florian Pritz | 1 | -0/+42 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-19 | Test compilation of all packages | Florian Pritz | 1 | -0/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-19 | Reorganize tests | Florian Pritz | 10 | -0/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-19 | t/find_archives: Check exception string | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-19 | Add search_path and find_archives integration tests | Florian Pritz | 2 | -0/+89 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-01-24 | t/parsing: Fix unmocked method verify_cache_fill_rate_ok warning | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-21 | Enable --adhoc automatically when cache is empty | Florian Pritz | 1 | -0/+22 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-06-11 | Use Test::Pod::Coverage for main package | Florian Pritz | 1 | -0/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-06-06 | Use Test::Pod | Florian Pritz | 1 | -0/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-11 | t2_parsing: Ensure the timezone is reset after modifying TZ | Florian Pritz | 1 | -2/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-11 | t2_parsing: Force UTC timezone | Florian Pritz | 1 | -7/+9 | |
The test only worked in GMT+1 before this... Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | t/02_parsing: Fix too many arguments to _handle_added_archives | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Mark some functions private | Florian Pritz | 2 | -10/+10 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Do not pass $opts to main class | Florian Pritz | 3 | -3/+3 | |
The only reason this was done, was for the debug output. This no longer requires large amounts of memory or time (simple count(*) in the db now) so this is no longer necessary. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-13 | Fix 02_parsing.t | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-12 | Fix sort order of detected archives | Florian Pritz | 1 | -0/+29 | |
cmp sorts strings, <=> sorts numbers Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-04 | Add new_no_defaults constructor for test suite | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-04 | Test timespec_to_seconds | Florian Pritz | 1 | -0/+21 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-04 | Test adding of new archives | Florian Pritz | 1 | -0/+49 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-02 | Allow dots in archive names | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-27 | Test Helper::untaint_archive_name | Florian Pritz | 1 | -0/+18 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-26 | initial commit | Florian Pritz | 1 | -0/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |