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

« back to all changes in this revision

Viewing changes to tests/openpgp/armsignencrypt.test

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-11-24 18:48:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061124184823-17ir9m46tl09n9k4
Tags: 2.0.0-4ubuntu1
* Synchronize to Debian, reapply remaining Ubuntu changes to pristine Debian
  version:
  - Remove libpcsclite-dev, libopensc2-dev build dependencies (they are in
    universe).

Show diffs side-by-side

added added

removed removed

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