summaryrefslogtreecommitdiffstats
path: root/php-5.0.4-tests-wddx.patch
diff options
context:
space:
mode:
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'/>