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

« back to all changes in this revision

Viewing changes to checks/encryptp.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
 
#info Checking encryption with a pipe
6
 
for i in $plain_files $data_files ; do
7
 
    $GPG --always-trust -e --yes -r "$usrname2" <$i | $GPG --yes > y
8
 
    cmp $i y || error "$i: mismatch"
9
 
done
10