1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Migrate backupFile() tests in command/backup module.

The backupFile() tests were written before the bulk of the backup command had been migrated to C. Some of them have been migrated to the complete backup tests, but others were left because there was no way to make changes to files during a backup.

Now that we have the backup script harness introduced in 337da35a it is now possible to migrate all the tests. The new tests are better because they not only test backupFile() but all the functions upstream and downstream of it.
This commit is contained in:
David Steele
2023-11-24 17:07:49 -03:00
parent 337da35ab2
commit 7d51228bf5
4 changed files with 192 additions and 449 deletions
+1 -1
View File
@@ -878,7 +878,7 @@ unit:
# ----------------------------------------------------------------------------------------------------------------------------
- name: backup
total: 13
total: 12
harness:
name: backup
shim: