Code Comments
Programming Forum and web based access to our favorite programming groups.======================================== ============================= FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #22414: passthru() does not read data correctly [ext/standard/tests/file /bug22414.phpt] ======================================== ============================= ======================================== ============================= TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 53 Exts tested : 37 --------------------------------------------------------------------- Number of tests : 613 Tests skipped : 132 (21.5%) Tests warned : 0 ( 0.0%) Tests failed : 1 ( 0.2%) Tests passed : 480 (78.3%) --------------------------------------------------------------------- Time taken : 167 seconds ======================================== ============================= ======================================== ==================================== ==== /var/tmp/build_tmp/php-4.3.8/ext/standard/tests/file/bug22414.phpt ======================================== ==================================== ==== ---- EXPECTED OUTPUT HELLO Works ---- ACTUAL OUTPUT HELLO sh: /var/www/empty/php: No such file or directory Does not work ---- FAILED ======================================== ==================================== ==== 002- Works 002+ sh: /var/www/empty/php: No such file or directory 003+ Does not work ======================================== ==================================== ==== ======================================== ==================================== ==== BUILD ENVIRONMENT ======================================== ==================================== ==== OS: Linux - Linux service-domain.com 2.4.26-minots1.28 #3 Fre Jul 16 00:46:20 CE ST 2004 i686 Automake: automake (GNU automake) 1.4-p4 Copyright (C) 1999, 2001 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. Written by Tom Tromey <tromey@cygnus.com> Autoconf: Autoconf version 2.13 Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002 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. Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x40019000) libc-client.so.2001 => /usr/lib/libc-client.so.2001 (0x40046000) libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x400fa000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40127000) libnsl.so.1 => /lib/libnsl.so.1 (0x401e7000) libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x401fb000) libz.so.1 => /usr/lib/libz.so.1 (0x40230000) libm.so.6 => /lib/libm.so.6 (0x4023e000) libpam.so.0 => /lib/libpam.so.0 (0x4025f000) libt1.so.1 => /usr/lib/libt1.so.1 (0x40267000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x402ad000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402ec000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x403a6000) libpng.so.2 => /usr/lib/libpng.so.2 (0x403b4000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x403df000) libdb2.so.2 => /lib/libdb2.so.2 (0x403fe000) libgdbm.so.1 => /usr/lib/libgdbm.so.1 (0x4043f000) libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x40445000) libresolv.so.2 => /lib/libresolv.so.2 (0x40456000) libdl.so.2 => /lib/libdl.so.2 (0x40466000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40469000) libpthread.so.0 => /lib/libpthread.so.0 (0x4054b000) libc.so.6 => /lib/libc.so.6 (0x4055f000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: minots at d0x dot de ======================================== ==================================== ==== PHPINFO ======================================== ==================================== ==== phpinfo() PHP Version => 4.3.8 System => Linux service-domain.com 2.4.26-minots1.28 #3 Fre Jul 16 00:46:20 CEST 2004 i686 Build Date => Oct 22 2004 03:21:13 Configure Command => './configure' '--prefix=/usr' '--sysconfdir=/etc' '--w ith-apxs=/etc/httpd/bin/apxs' '--with-bz2' '--with-config-file-path=/etc/php ' '--with-curl=shared,/usr' '--with-curl-ssl' '--with-curlwrappers' '--with- db2' '--with-dom=/usr' '--w ith-exec-dir=/var/www/empty' '--with-flatfile' '--with-freetype-dir=/usr' '- -with-gd' '--with-gdbm' '--with-gettext' '--with-gmp=shared,/usr' '--with-gn u-ld' '--with-iconv' '--with-imap' '--with-imap-ssl' '--with-inifile' '--wit h-jpeg-dir=/usr' '--with-mc al=shared,/usr' '--with-mhash=shared,/usr' '--with-mcrypt=shared,/usr' '--wi th-mime-magic' '--with-mod_charset' '--with-mysql=/usr' '--with-openssl=shar ed' '--with-openssl-dir=../openssl-0.9.7d' '--with-pcre-regex' '--with-pdfli b=shared,/usr/local' '--wit h-pear=/var/www/empty/PEAR' '--with-png-dir=/usr' '--with-sqlite' '--with-t1 lib=shared,/usr' '--with-tiff-dir=/usr' '--with-ttf=/usr' '--with-xpm-dir=/u sr' '--with-zlib' '--with-zlib-dir=/usr' '--enable-bcmath' '--enable-cal! endar' '--enable-ctype' '--enable-dba' '--enable-dbase' '--enable-dbx' '--en able-discard-path' '--enable-exif' '--enable-fastcgi' '--enable-filepro' '-- enable-ftp' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--enable-libgcc ' '--enable-magic-quotes' ' --enable-mbstring' '--enable-memory-limit' '--enable-register-globals' '--en able-safe-mode' '--enable-sigchild' '--enable-sockets' '--enable-track-vars' '--enable-wddx' '--enable-yp' '--enable-zend-multibyte' '--disable-posix' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc/php/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, compress.bzip2, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Turck MMCache v2.4.6, Copyright (c) 2002-2003 TurckSoft, St. Petersburg , by Dmitry Stogov ________________________________________ _______________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => no value => no value expose_php => On => On extension_dir => /usr/lib/php/extensions/no-debug-non-zts-20020429 => /usr/l ib/php/extensions/no-debug-non-zts-20020429 file_uploads => On => On gpc_order => GPC => GPC highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 html_errors => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .:/var/www/empty/PEAR => .:/var/www/empty/PEAR log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 90 max_input_time => 90 => 90 memory_limit => 12M => 12M open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => Off register_globals => On => On report_memleaks => On => On safe_mode => On => On safe_mode_exec_dir => /var/www/empty => /var/www/empty safe_mode_gid => On => On safe_mode_include_dir => .:/var/www/empty/PEAR => .:/var/www/empty/PEAR sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => Off => Off Turck MMCache MMCache support => enabled Version => 2.4.6 Caching Enabled => false Optimizer Enabled => false Directive => Local Value => Master Value mmcache.cache_dir => /var/tmp/mmcache => /var/tmp/mmcache mmcache.check_mtime => 1 => 1 mmcache.compress => 1 => 1 mmcache.content => shm_and_disk => shm_and_disk mmcache.debug => 0 => 0 mmcache.enable => 1 => 1 mmcache.filter => no value => no value mmcache.keys => shm_and_disk => shm_and_disk mmcache.optimizer => 1 => 1 mmcache.sessions => shm_and_disk => shm_and_disk mmcache.shm_max => 256K => 256K mmcache.shm_only => 0 => 0 mmcache.shm_prune_period => 1800 => 1800 mmcache.shm_size => 24 => 24 mmcache.shm_ttl => 3600 => 3600 bcmath BCMath support => enabled bz2 BZip2 Support => Enabled BZip2 Version => 1.0.2, 30-Dec-2001 calendar Calendar support => enabled ctype ctype functions => enabled curl CURL support => enabled CURL Information => libcurl/7.10.6 OpenSSL/0.9.6c ipv6 zlib/1.1.4 dba DBA support => enabled Supported handlers => gdbm cdb cdb_make DB2 inifile flatfile dbx dbx support => enabled dbx version => 1.0.0 supported databases => MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT Directive => Local Value => Master Value dbx.colnames_case => unchanged => unchanged domxml DOM/XML => enabled DOM/XML API Version => 20020815 libxml Version => 20607 HTML Support => enabled XPath Support => enabled XPointer Support => enabled exif EXIF Support => enabled EXIF Version => 1.4 $Id: exif.c,v 1.118.2.27 2003/12/17 09:08:37 helly Exp $ Supported EXIF Version => 0220 Supported filetypes => JPEG,TIFF ftp FTP support => enabled gd GD Support => enabled GD Version => bundled (2.0.23 compatible) FreeType Support => enabled FreeType Linkage => with freetype T1Lib Support => enabled GIF Read Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled JIS-mapped Japanese Font Support => enabled gettext GetText Support => enabled gmp gmp support => enabled iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.2.5 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 imap IMAP c-Client Version => 2001 SSL Support => enabled mbstring Multibyte Support => enabled Japanese support => enabled Simplified chinese support => enabled Traditional chinese support => enabled Korean support => enabled Russian support => enabled Multibyte (japanese) regex support => enabled mbstring extension makes use of "streamable kanji code filter and converter" , which is distributed under the GNU Lesser General Public License version 2 .1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.script_encoding => no value => no value mbstring.substitute_character => no value => no value mcal MCAL Support => enabled MCAL Version => 0.6 - 20000121 mcrypt mcrypt support => enabled version => >= 2.4.x Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 lok i97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xte a blowfish enigma rc2 tripledes Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream Directive => Local Value => Master Value mcrypt.algorithms_dir => no value => no value mcrypt.modes_dir => no value => no value mhash MHASH support => Enabled MHASH API Version => 20011020 mime_magic mime_magic support => enabled Directive => Local Value => Master Value mime_magic.magicfile => /etc/httpd/conf/magic => /etc/httpd/conf/magic mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.49 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /var/run/mysqld/mysqld.sock MYSQL_INCLUDE => -I/usr/include/mysql MYSQL_LIBS => -L/usr/lib -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => Off => Off mysql.connect_timeout => 60 => 60 mysql.default_host => localhost => localhost mysql.default_password => no value => no value mysql.default_port => 3306 => 3306 mysql.default_socket => /var/run/mysqld/mysqld.sock => /var/run/mysqld/mysql d.sock mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.5 01-December-2003 pdf PDF Support => enabled PDFlib GmbH Version => 4.0.3 Revision => $Revision: 1.112.2.9 $ session Session Support => enabled Registered save handlers => files user mmcache Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off sockets Sockets Support => enabled sqlite SQLite support => enabled PECL Module version => 1.0.3 $Id: sqlite.c,v 1.62.2.25 2004/07/10 12:25:33 w ez Exp $ Bug# 29395 fixed by Minots at 2004/10/21 23:52:11 SQLite Library => 2.8.14 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,form=,fieldse t= => a=href,ar ea=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled wddx WDDX Support => enabled WDDX Session Serializer => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.6 yp YP Support => enabled zlib ZLib Support => enabled Compiled Version => 1.2.1 Linked Version => 1.1.4 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name dbase dns_get_record backport filepro Environment Variable => Value PWD => /var/tmp/build_tmp/php-4.3.8 MAKEFLAGS => MFLAGS => REDIRECT_STATUS => TEST_PHP_EXECUTABLE => /var/tmp/build_tmp/php-4.3.8/sapi/cli/php CC => gcc USER => root SCRIPT_FILENAME => MAIL => /var/mail/root PATH_TRANSLATED => LANG => C QUERY_STRING => CONTENT_LENGTH => MAKELEVEL => 1 SSH_CLIENT => 80.142.31.140 35205 22 SHLVL => 3 LOGNAME => root SSH_CONNECTION => 80.142.31.140 35205 217.160.181.169 22 _ => /var/tmp/build_tmp/php-4.3.8/sapi/cli/php REQUEST_METHOD => SHELL => /bin/sh TEST_PHP_SRCDIR => /var/tmp/build_tmp/php-4.3.8 TERM => xterm HOME => /root PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bi n/X11:/opt/kav/bin SSH_TTY => /dev/pts/0 CONTENT_TYPE => PHP Variables Variable => Value PHP_SELF => _SERVER["PWD"] => /var/tmp/build_tmp/php-4.3.8 _SERVER["MAKEFLAGS"] => _SERVER["MFLAGS"] => _SERVER["REDIRECT_STATUS"] => _SERVER["TEST_PHP_EXECUTABLE"] => /var/tmp/build_tmp/php-4.3.8/sapi/cli/php _SERVER["CC"] => gcc _SERVER["USER"] => root _SERVER["SCRIPT_FILENAME"] => _SERVER["MAIL"] => /var/mail/root _SERVER["PATH_TRANSLATED"] => _SERVER["LANG"] => C _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["MAKELEVEL"] => 1 _SERVER["SSH_CLIENT"] => 80.142.31.140 35205 22 _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => root _SERVER["SSH_CONNECTION"] => 80.142.31.140 35205 217.160.181.169 22 _SERVER["_"] => /var/tmp/build_tmp/php-4.3.8/sapi/cli/php _SERVER["REQUEST_METHOD"] => _SERVER["SHELL"] => /bin/sh _SERVER["TEST_PHP_SRCDIR"] => /var/tmp/build_tmp/php-4.3.8 _SERVER["TERM"] => xterm _SERVER["HOME"] => /root _SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/ bin:/usr/bin/X11:/opt/kav/bin _SERVER["SSH_TTY"] => /dev/pts/0 _SERVER["CONTENT_TYPE"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.