File: test-gnupg1

package info (click to toggle)
libgnupg-interface-perl 1.04-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 824 kB
  • sloc: perl: 3,828; makefile: 6; sh: 5
file content (18 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (3)
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,