Add test for incorrect password causing failed restore

This commit is contained in:
ViViDboarder 2017-11-15 13:45:15 -08:00
parent ad2d5bdec9
commit 7cf2edcd5e

View File

@ -20,3 +20,9 @@ echo "Restore backup..."
echo "Verify backup..."
/verify.sh
echo "Verify incorrect passphrase fails..."
export PASSPHRASE=Incorrect.Mule.Solar.Paperclip
echo "Fail to restore backup..."
/restore.sh && exit 1 || echo "OK"