~ubuntu-branches/ubuntu/feisty/gnupg2/feisty

« back to all changes in this revision

Viewing changes to checks/armencrypt.test

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2006-07-11 11:38:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060711113813-zaw7unlbuh7gyxtl
Tags: 1.9.21-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
. $srcdir/defs.inc || exit 3
4
 
 
5
 
#info Checking armored encryption
6
 
for i in $plain_files $data_files ; do
7
 
    $GPG --always-trust -ea -o x --yes -r "$usrname2" $i
8
 
    $GPG -o y --yes x
9
 
    cmp $i y || error "$i: mismatch"
10
 
done
11