summaryrefslogtreecommitdiffstats
path: root/php-5.0.4-tests-wddx.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-10 07:12:19 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-10 07:12:19 +0200
commitb3e0ade88ce863b452efc83d003485b64399e89a (patch)
treee5e48e95d7eb1829bad26a51c54c91d52e4e8e89 /php-5.0.4-tests-wddx.patch
repo reorg
Diffstat (limited to 'php-5.0.4-tests-wddx.patch')
-rw-r--r--php-5.0.4-tests-wddx.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/php-5.0.4-tests-wddx.patch b/php-5.0.4-tests-wddx.patch
new file mode 100644
index 0000000..56d6863
--- /dev/null
+++ b/php-5.0.4-tests-wddx.patch
@@ -0,0 +1,26 @@
+
+The wddx tests presume that "2040-06-12T04:32:12" cannot be parsed;
+that's only true on platforms with a 32-bit time_t.
+
+--- php-5.0.5/ext/wddx/tests/001.phpt.tests-wddx
++++ php-5.0.5/ext/wddx/tests/001.phpt
+@@ -18,7 +18,7 @@
+ ["aDateTime2"]=>
+ int(329632332)
+ ["aDateTime3"]=>
+- string(22) "2040-06-12T04:32:12+00"
++ string(12) "NotADateTime"
+ ["aBoolean"]=>
+ bool(true)
+ ["anArray"]=>
+--- php-5.0.5/ext/wddx/tests/wddx.xml.tests-wddx
++++ php-5.0.5/ext/wddx/tests/wddx.xml
+@@ -20,7 +20,7 @@
+ <dateTime>1980-06-12T04:32:12+00</dateTime>
+ </var>
+ <var name='aDateTime3'>
+- <dateTime>2040-06-12T04:32:12+00</dateTime>
++ <dateTime>NotADateTime</dateTime>
+ </var>
+ <var name='aBoolean'>
+ <boolean value='true'/>