tasket / wyng-backup

Fast backups for logical volumes & disk images
GNU General Public License v3.0
242 stars 16 forks source link

Create automated tests #19

Open tasket opened 5 years ago

tasket commented 5 years ago

A good testing regime could include the following:


Changing program_name in the code could allow the test data set to be created under a different base folder name without interfering with real-life backup data.

DemiMarie commented 1 month ago

Other areas I recommend testing:

  1. Deliberately tamper with the archive, and check that the tampering is detected on restore.
  2. Attempt to roll back the archive to an earlier version, and test that this is detected.