From 7cf2edcd5e78498f75e5f348347274f58f112e3a Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Wed, 15 Nov 2017 13:45:15 -0800 Subject: [PATCH] Add test for incorrect password causing failed restore --- itest.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/itest.sh b/itest.sh index 3bd4dda..dadc055 100755 --- a/itest.sh +++ b/itest.sh @@ -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"