Re: Darwin Kernel Version 8.10.1 test failures (Was: [PHP-QA] Test results for 5.2.4RC2-dev [failed])
| From: | Raghubansh | Date: | Thu, 16 Aug 2007 10:39:56 +0000 |
| Subject: | Re: Darwin Kernel Version 8.10.1 test failures (Was: [PHP-QA] Test results for 5.2.4RC2-dev [failed]) | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-43389@lists.php.net to get a copy of this message | ||
Hi Martin,
The recent failure on the MAC OS showed that
ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt fails..
I pickup your id from the "Build Environment" section of the failure that
was sent over the list. The failure of
ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt
looked genuine but to confirm it, i have small script that you could run and
send me the result.
Could you pls execute the following code on the machine where test was run ?
test code here :
----------------
<?php
$file_path = dirname(__FILE__);
$dirname = "$file_path/tempdir";
mkdir($dirname);
$filename = "$dirname/tempfile.tmp";
$fp = fopen($filename, "w");
var_dump( chmod($dirname, 0000) );
echo substr(sprintf('%o', fileperms($dirname)), -3);
$linkname = "$dirname/templink.tmp";
var_dump( symlink($filename, $linkname) );
var_dump( file_exists($linkname) );
var_dump( file_exists($filename) );
chmod($dirname, 0777); // to enable dir deletion
unlink($filename);
rmdir($dirname);
?>
Expected output:
---------------
bool(true)
000
Warning: symlink(): Permission denied in %s on line %d
bool(false)
bool(false)
bool(false)
with Regards,
Raghubansh
On 8/14/07, Hannes Magnusson <hannes.magnusson@gmail.com> wrote:
>
> Hi Raghubansh
>
> You committed most of these tests, are you absolutely sure they are
> all 100% correct?
> Its rather disturbing how many of these fail, could you please look into
> it?
>
> (The original result mail: http://news.php.net/php.qa/43362)
>
> -Hannes
>
> ---------- Forwarded message ----------
> From: noreply@php.net <noreply@php.net>
> Date: Aug 14, 2007 11:07 AM
> Subject: [PHP-QA] Test results for 5.2.4RC2-dev [failed]
> To: php-qa@lists.php.net
>
>
>
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail
> on MacOS X) [tests/lang/bug30638.phpt]
> Bug #38474 (getAttribute select attribute by order, even when
> prefixed) (OK to fail with libxml2 < 2.6.2x)
> [ext/dom/tests/bug38474.phpt]
> Bug #42082 (NodeList length zero should be empty)
> [ext/dom/tests/bug42082.phpt]
> Bug #41567 (json_encode() double conversion is inconsistent with PHP)
> [ext/json/tests/bug41567.phpt]
> Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt]
> Test copy() function: usage variations - dir as source (Bug #42111)
> [ext/standard/tests/file/copy_variation12.phpt]
> Test copy() function: usage variations - destination dir access perms
> [ext/standard/tests/file/copy_variation15.phpt]
> Test copy() function: usage variations - destination file names(empty
> string, nulls & bools) [ext/standard/tests/file/copy_variation4.phpt]
> Test copy() function: usage variations - destination file names(case
> sensitive) [ext/standard/tests/file/copy_variation5.phpt]
> Test copy() function: usage variations - destination file access perms
> [ext/standard/tests/file/copy_variation9.phpt]
> Test fgetcsv() : usage variations - reading the blank line (Bug
> #42228) [ext/standard/tests/file/fgetcsv_variation14.phpt]
> Test fgetcsv() : usage variations - with length as 0 (Bug #42175)
> [ext/standard/tests/file/fgetcsv_variation2.phpt]
> Test fgetcsv() : usage variations - with default enclosure, file
> pointer pointing at end of file (Bug #42175)
> [ext/standard/tests/file/fgetcsv_variation22.phpt]
> Test fgetcsv() : usage variations - with only file handle as argument,
> file pointer pointing at end of file (Bug #42175)
> [ext/standard/tests/file/fgetcsv_variation29.phpt]
> Test fgetcsv() : usage variations - with file handle and length, file
> pointer pointing at end of file (Bug #42175)
> [ext/standard/tests/file/fgetcsv_variation30.phpt]
> Test fgetcsv() : usage variations - with length and enclosure, file
> pointer pointing at end of file (Bug #42175)
> [ext/standard/tests/file/fgetcsv_variation31.phpt]
> Test fileowner() function: basic functionality
> [ext/standard/tests/file/fileowner_basic.phpt]
> Test lstat() and stat() functions: usage variations - effects of
> touch() on link [ext/standard/tests/file/lstat_stat_variation6.phpt]
> Test readlink() and realpath functions: basic functionality - diff.
> path notation for links
> [ext/standard/tests/file/readlink_realpath_basic1.phpt]
> Test readlink() and realpath() functions: usage variation -
> linkname/filename stored in object
> [ext/standard/tests/file/readlink_realpath_variation1.phpt]
> Test readlink() and realpath() functions: usage variation -
> linkname/filename stored in array
> [ext/standard/tests/file/readlink_realpath_variation2.phpt]
> Test symlink(), linkinfo(), link() and is_link() functions : usage
> variations - link & dir perms.
> [ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt]
> Test unlink() function : usage variations - unlinking file in a
> directory [ext/standard/tests/file/unlink_variation1.phpt]
> htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
> [ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly
> braindead libc)
> htmlentities() test 4 (setlocale / ja_JP.EUC-JP)
> [ext/standard/tests/strings/htmlentities04.phpt]
> htmlentities() test 15 (setlocale / KOI8-R)
> [ext/standard/tests/strings/htmlentities15.phpt]
> =====================================================================
>
>
> =====================================================================
> TEST RESULT SUMMARY
> ---------------------------------------------------------------------
> Exts skipped : 43
> Exts tested : 36
> ---------------------------------------------------------------------
>
> Number of tests : 3969 2623
> Tests skipped : 1346 ( 33.9%) --------
> Tests warned : 1 ( 0.0%) ( 0.0%)
> Tests failed : 25 ( 0.6%) ( 1.0%)
> Tests passed : 2597 ( 65.4%) ( 99.0%)
> ---------------------------------------------------------------------
> Time taken : 303 seconds
> =====================================================================
>
> [Message clipped]
>
>
> ================================================================================
> BUILD ENVIRONMENT
>
> ================================================================================
> OS:
> Darwin - Darwin leopold.local 8.10.1 Darwin Kernel Version 8.10.1: Wed
> May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386
>
> Autoconf:
> autoconf (GNU Autoconf) 2.59
> Written by David J. MacKenzie and Akim Demaille.
>
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> Bundled Libtool:
> ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15)
>
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> System Libtool:
> ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58)
>
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> Compiler:
> Using built-in specs.
> Target: i686-apple-darwin8
> Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure
> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0
> --build=powerpc-apple-darwin8 --with-arch=pentium-m
> --with-tune=prescott --program-prefix= --host=i686-apple-darwin8
> --target=i686-apple-darwin8
> Thread model: posix
> gcc version 4.0.1 (Apple Computer, Inc. build 5250)
>
> Bison:
> GNU Bison version 1.28
>
> Libraries:
>
>
> User's E-mail: martin dot kappâp at skype dot net
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
with Regards,
Raghubansh