summaryrefslogtreecommitdiff
path: root/debian/patches/test-gnupg1
blob: ceaaf58d4747858d6c1663b41447bc3a3dc08348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Test against GnuPG v1
 The test cases only test "gpg" which for Debian is v2. As the module also
 supports v1 which we ship, we should test against it.
Author: Andrew Ruthven <andrew@etc.gen.nz>
Forwarded: not-needed
Last-Update: 2020-07-18

--- a/t/MyTestSpecific.pm
+++ b/t/MyTestSpecific.pm
@@ -53,7 +53,7 @@
 
 $ENV{'GNUPGHOME'} = $homedir;
 
-$gnupg = GnuPG::Interface->new( passphrase => 'test' );
+$gnupg = GnuPG::Interface->new( passphrase => 'test', call => ($ENV{'CALL'} || 'gpg') );
 $gnupg->options->hash_init( homedir              => $homedir,
                             armor                => 1,
                             meta_interactive     => 0,