aboutsummaryrefslogtreecommitdiffstats
path: root/checks/encrypt.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/encrypt.test')
-rwxr-xr-xchecks/encrypt.test9
1 files changed, 7 insertions, 2 deletions
diff --git a/checks/encrypt.test b/checks/encrypt.test
index b6920814f..daf3be6ee 100755
--- a/checks/encrypt.test
+++ b/checks/encrypt.test
@@ -4,8 +4,13 @@
#info Checking encryption
for i in $plain_files $data_files ; do
- run_gpg -e -o x --yes -r "$usrname2" $i
- run_gpg -o y --yes x
+ ./run-gpg -e -o x --yes -r "$usrname2" $i
+ ./run-gpg -o y --yes x
+ cmp $i y || error "$i: mismatch"
+done
+for i in $plain_files $data_files ; do
+ ./run-gpg -e -o x --yes -r "$usrname2" --cipher-algo cast $i
+ ./run-gpg -o y --yes x
cmp $i y || error "$i: mismatch"
done