summaryrefslogtreecommitdiffstats
path: root/gnupg-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnupg-tests.patch')
-rw-r--r--gnupg-tests.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnupg-tests.patch b/gnupg-tests.patch
new file mode 100644
index 0000000..f26b53e
--- /dev/null
+++ b/gnupg-tests.patch
@@ -0,0 +1,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