Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36825 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99979 invoked from network); 6 Apr 2008 21:44:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Apr 2008 21:44:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=hoffie@gentoo.org; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=hoffie@gentoo.org; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain gentoo.org does not designate 217.20.118.221 as permitted sender) X-PHP-List-Original-Sender: hoffie@gentoo.org X-Host-Fingerprint: 217.20.118.221 217.20.118.221 Received: from [217.20.118.221] ([217.20.118.221:53293] helo=srv.hoffie.info) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/77-54002-D3449F74 for ; Sun, 06 Apr 2008 17:44:31 -0400 Received: from [192.168.1.2] (p5494C6D4.dip.t-dialin.net [84.148.198.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by srv.hoffie.info (Postfix) with ESMTP id 2602257EBD for ; Sun, 6 Apr 2008 23:44:26 +0200 (CEST) Message-ID: <47F94431.1020300@gentoo.org> Date: Sun, 06 Apr 2008 23:44:17 +0200 User-Agent: Thunderbird 2.0.0.12 (X11/20080301) MIME-Version: 1.0 To: PHP Developers Mailing List X-Enigmail-Version: 0.95.6 OpenPGP: id=800DDCDE Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA1A226FB92D46F50D90F0149" Subject: Small test case fixes / observations (php-5.2.6_rc4) From: hoffie@gentoo.org (Christian Hoffmann) --------------enigA1A226FB92D46F50D90F0149 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Heya, while building and testing a minimal version of PHP and as such=20 disabling the session extension, I discovered that=20 ext/standard/tests/general_functions/bug44394_2.phpt fails without the=20 session extension being enabled. I created a patch to fix that [1]. On a sidenote, some tests seem to break on amd64 systems: ext/standard/tests/array/array_slice_variation6.phpt: Apparently there is a real bug (or difference in behavior between 32bit=20 and 64bit) in the code here, and the test revealed it. See [2] ext/standard/tests/array/array_slice_variation2.phpt ext/standard/tests/array/array_slice_variation3.phpt: Iteration 7 is different on 32bit and 64bit [3][4]. I don't know if this = behavior is intended, for now I simply added a skipif for non-32bit [5][6= ]. It would be nice to get the first patch (session-related), and maybe the = 64bit-related skipifs as well, committed. All testing / patching has been done on/against php-5.2.6RC4. [1] http://home.hoffie.info/static/003_test-standard-bug44394_2-skipif.pa= tch [2] http://home.hoffie.info/static/array_slice_variation6.diff [3] http://home.hoffie.info/static/array_slice_variation2.diff [4] http://home.hoffie.info/static/array_slice_variation3.diff [5]=20 http://home.hoffie.info/static/005_test-standard-array_slice_variation2-3= 2bitonly.patch [6]=20 http://home.hoffie.info/static/004_test-standard-array_slice_variation3-3= 2bitonly.patch Thanks, --=20 Christian Hoffmann --------------enigA1A226FB92D46F50D90F0149 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkf5RDkACgkQV6E0EIywUuU3QwCbB7nkuGZzn1haQHf/voeOgumf m9QAn0CCOD9JOqmpQnx+AoCOjlnL8rjc =FAev -----END PGP SIGNATURE----- --------------enigA1A226FB92D46F50D90F0149--