summaryrefslogtreecommitdiffstats
path: root/gnupg-tests.patch
blob: f26b53eb2e3a112ec25683e8cd72b139078acf8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff -up gnupg-1.3.2/tests/gnupg_oo_export.phpt.orig gnupg-1.3.2/tests/gnupg_oo_export.phpt
--- gnupg-1.3.2/tests/gnupg_oo_export.phpt.orig	2012-01-28 08:43:44.138922329 +0100
+++ gnupg-1.3.2/tests/gnupg_oo_export.phpt	2012-01-28 08:44:44.152924641 +0100
@@ -11,8 +11,8 @@ $ret = $gpg -> export($fingerprint);
 var_dump($ret);
 ?>
 --EXPECTF--
-string(1336) "-----BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.4.3 (GNU/Linux)
+string(%d) "-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v%d.%d.%d (GNU/Linux)
 
 mQGiBENQAKwRBADpy828KU+0SuoetJTrJ5dR86PiO3CsH8K6QRP7wY82Eh/9NTJ3
 afRj0FNPaVSP0NciPeM4G4uFoQ3lsIf+FBEPXH1D97/XigWObU8K6ha2/s8wU98z
diff -up gnupg-1.3.2/tests/gnupg_res_export.phpt.orig gnupg-1.3.2/tests/gnupg_res_export.phpt
--- gnupg-1.3.2/tests/gnupg_res_export.phpt.orig	2012-01-28 08:43:54.576921963 +0100
+++ gnupg-1.3.2/tests/gnupg_res_export.phpt	2012-01-28 08:44:40.582924190 +0100
@@ -9,8 +9,8 @@ $ret = gnupg_export($gpg, $fingerprint);
 var_dump($ret);
 ?>
 --EXPECTF--
-string(1336) "-----BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.4.3 (GNU/Linux)
+string(%d) "-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v%d.%d.%d (GNU/Linux)
 
 mQGiBENQAKwRBADpy828KU+0SuoetJTrJ5dR86PiO3CsH8K6QRP7wY82Eh/9NTJ3
 afRj0FNPaVSP0NciPeM4G4uFoQ3lsIf+FBEPXH1D97/XigWObU8K6ha2/s8wU98z