The following scripts are used to execute regressiontests every time before a new release of raspiBackup is published. The regressiontest tests the basic backup and restore function for all backup modes and backup types on an SD only environment and and USB only environment to make sure the backup created with the new release can still be restored successfully and will boot up. Mixed environment with /boot od SD card an /root on USB is not tested. In addition the smart recycle strategy is tested.
See also this page which tests are executed on the restored backup to verify it's working correctly.
See here how to setup qemu and the image to use for the tests.
- Existing RaspberryPiOS image
- QEMU installed
- QEMU image startup script
- raspiBackupRegression.sh - Main script which executes regressiontests for all backup types and backup modes
- raspiBackupTest.sh - Executes a specific backup regressiontest
- raspiRestoreTest.sh - Executes a restore test for an existing backup
- testRaspiBackup.sh - Executed on the qemu image to create a backup