diff options
Diffstat (limited to 'checks/armencrypt.test')
-rwxr-xr-x | checks/armencrypt.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/checks/armencrypt.test b/checks/armencrypt.test new file mode 100755 index 0000000..356d1bd --- /dev/null +++ b/checks/armencrypt.test @@ -0,0 +1,11 @@ +#!/bin/sh + +. $srcdir/defs.inc || exit 3 + +#info Checking armored encryption +for i in $plain_files $data_files ; do + $GPG --always-trust -ea -o x --yes -r "$usrname2" $i + $GPG -o y --yes x + cmp $i y || error "$i: mismatch" +done + |