From: Ferenc Kovacs Date: Tue, 27 Sep 2011 00:53:41 +0000 (+0000) Subject: split the ext/calendar/tests/bug53574.phpt into two test, as we expect different... X-Git-Tag: php-5.3.9RC1~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3945c4f9a6135b3570411d85d7cf67559c8bd952;p=php split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit --- diff --git a/ext/calendar/tests/bug53574_1.phpt b/ext/calendar/tests/bug53574_1.phpt new file mode 100644 index 0000000000..51f9b4266f --- /dev/null +++ b/ext/calendar/tests/bug53574_1.phpt @@ -0,0 +1,36 @@ +--TEST-- +Bug #53574 (Integer overflow in SdnToJulian; leads to segfault) +--SKIPIF-- + +--FILE-- + + string(5) "0/0/0" + ["month"]=> + int(0) + ["day"]=> + int(0) + ["year"]=> + int(0) + ["dow"]=> + int(5) + ["abbrevdayname"]=> + string(3) "Fri" + ["dayname"]=> + string(6) "Friday" + ["abbrevmonth"]=> + string(0) "" + ["monthname"]=> + string(0) "" +} + diff --git a/ext/calendar/tests/bug53574.phpt b/ext/calendar/tests/bug53574_2.phpt similarity index 75% rename from ext/calendar/tests/bug53574.phpt rename to ext/calendar/tests/bug53574_2.phpt index e426991354..45e15cb398 100644 --- a/ext/calendar/tests/bug53574.phpt +++ b/ext/calendar/tests/bug53574_2.phpt @@ -1,14 +1,15 @@ --TEST-- Bug #53574 (Integer overflow in SdnToJulian; leads to segfault) --SKIPIF-- - + --FILE--