~ubuntu-branches/ubuntu/oneiric/gnupg2/oneiric-updates

« back to all changes in this revision

Viewing changes to checks/armsignencrypt.test

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-10-04 10:25:53 UTC
  • mfrom: (5.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081004102553-fv62pp8dsitxli47
Tags: 2.0.9-3.1
* Non-maintainer upload.
* agent/gpg-agent.c: Deinit the threading library before exec'ing
  the command to run in --daemon mode. And because that still doesn't
  restore the sigprocmask, do that manually. Closes: #499569

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