php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60913
Patch gnupg-tests.patch revision 2012-01-28 08:38 UTC by fedora at famillecollet dot com

Patch gnupg-tests.patch for gnupg Bug #60913

Patch version 2012-01-28 08:38 UTC

Return to Bug #60913 | Download this patch
Patch Revisions:

Developer: fedora@famillecollet.com

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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 15:01:26 2019 UTC