Test results for 4.3.2 [failed]

From: Date: Thu, 17 Jul 2003 18:36:09 +0000
Subject: Test results for 4.3.2 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-15304@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- serializing references test case using globals [ext/session/tests/019.phpt] Simple math tests [ext/standard/tests/math/abs.phpt] Various pow() tests [ext/standard/tests/math/pow.phpt] Simple math tests [ext/standard/tests/math/round.phpt] strtotime() function [ext/standard/tests/time/002.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt] mktime() [ext/standard/tests/time/mktime.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 76 Exts tested : 11 --------------------------------------------------------------------- Number of tests : 481 Tests skipped : 238 (49.5%) Tests warned : 0 ( 0.0%) Tests failed : 7 ( 1.5%) Tests passed : 236 (49.1%) --------------------------------------------------------------------- Time taken : 88 seconds ===================================================================== ================================================================================ /usr/home/chall/cmhin/php-4.3.2/ext/session/tests/019.phpt ================================================================================ ---- EXPECTED OUTPUT array(2) { ["o1"]=> &object(tfoo)(1) { ["c"]=> int(42) } ["o2"]=> &object(tfoo)(1) { ["c"]=> int(42) } } array(2) { ["o1"]=> &object(tfoo)(1) { ["c"]=> int(44) } ["o2"]=> &object(tfoo)(1) { ["c"]=> int(44) } } ---- ACTUAL OUTPUT array(2) { ["o1"]=> &object(tfoo)(1) { ["c"]=> int(42) } ["o2"]=> &object(tfoo)(1) { ["c"]=> int(42) } } array(2) { ["o1"]=> &object(tfoo)(1) { ["c"]=> int(44) } ["o2"]=> &object(tfoo)(1) { ["c"]=> int(44) } } php in free(): warning: chunk is already free ---- FAILED ================================================================================ 025+ php in free(): warning: chunk is already free ================================================================================ ================================================================================ /usr/home/chall/cmhin/php-4.3.2/ext/standard/tests/math/abs.phpt ================================================================================ ---- EXPECTED OUTPUT 1,1,0,0 OK ---- ACTUAL OUTPUT 1,1,1,1 Assert failed: -LONG_MIN+1 === abs(LONG_MIN-1) Left: int(-9223372036854775807) Right: int(9223372036854775807) Assert failed: -LONG_MIN === abs(LONG_MIN) Left: int(-9223372036854775808) Right: float(9.2233720368548E+18) ---- FAILED ================================================================================ 001- 1,1,0,0 001+ 1,1,1,1 002- OK 002+ 003+ Assert failed: 004+ -LONG_MIN+1 === abs(LONG_MIN-1) 005+ Left: int(-9223372036854775807) 006+ Right: int(9223372036854775807) 007+ 008+ Assert failed: 009+ -LONG_MIN === abs(LONG_MIN) 010+ Left: int(-9223372036854775808) 011+ Right: float(9.2233720368548E+18) ================================================================================ ================================================================================ /usr/home/chall/cmhin/php-4.3.2/ext/standard/tests/math/pow.phpt ================================================================================ ---- EXPECTED OUTPUT 1,1,0,0 On failure, please mail result to php-dev@lists.php.net OK ---- ACTUAL OUTPUT 1,1,1,1 On failure, please mail result to php-dev@lists.php.net Assert failed: LONG_MAX-1 === pow(LONG_MAX-1,1) Left: int(9223372036854775806) Right: int(9223372036854775807) Assert failed: LONG_MIN+1 === pow(LONG_MIN+1,1) Left: int(-9223372036854775807) Right: int(-9223372036854775808) ---- FAILED ================================================================================ 001- 1,1,0,0 001+ 1,1,1,1 003- OK 003+ 004+ Assert failed: 005+ LONG_MAX-1 === pow(LONG_MAX-1,1) 006+ Left: int(9223372036854775806) 007+ Right: int(9223372036854775807) 008+ 009+ Assert failed: 010+ LONG_MIN+1 === pow(LONG_MIN+1,1) 011+ Left: int(-9223372036854775807) 012+ Right: int(-9223372036854775808) ================================================================================ ================================================================================ /usr/home/chall/cmhin/php-4.3.2/ext/standard/tests/math/round.phpt ================================================================================ ---- EXPECTED OUTPUT 1,1,0,0 OK ---- ACTUAL OUTPUT 1,1,1,1 Assert failed: LONG_MIN-1 ~== round(LONG_MIN - 0.6) Left: int(9223372036854775807) Right: float(-9.2233720368548E+18) Assert failed: LONG_MIN-1 ~== floor(LONG_MIN - 0.5) Left: int(9223372036854775807) Right: float(-9.2233720368548E+18) Assert failed: LONG_MAX+1 ~== ceil(LONG_MAX + 0.5) Left: int(-9223372036854775808) Right: float(9.2233720368548E+18) Assert failed: LONG_MAX+1 ~== round(LONG_MAX + 0.6) Left: int(-9223372036854775808) Right: float(9.2233720368548E+18) ---- FAILED ================================================================================ 001- 1,1,0,0 001+ 1,1,1,1 002- OK 002+ 003+ Assert failed: 004+ LONG_MIN-1 ~== round(LONG_MIN - 0.6) 005+ Left: int(9223372036854775807) 006+ Right: float(-9.2233720368548E+18) 007+ 008+ Assert failed: 009+ LONG_MIN-1 ~== floor(LONG_MIN - 0.5) 010+ Left: int(9223372036854775807) 011+ Right: float(-9.2233720368548E+18) 012+ 013+ Assert failed: 014+ LONG_MAX+1 ~== ceil(LONG_MAX + 0.5) 015+ Left: int(-9223372036854775808) 016+ Right: float(9.2233720368548E+18) 017+ 018+ Assert failed: 019+ LONG_MAX+1 ~== round(LONG_MAX + 0.6) 020+ Left: int(-9223372036854775808) 021+ Right: float(9.2233720368548E+18) ================================================================================ ================================================================================ /usr/home/chall/cmhin/php-4.3.2/ext/standard/tests/time/002.phpt ================================================================================ ---- EXPECTED OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 18:59:59 2001-10-22 21:19:58 2001-10-22 19:19:58 2001-10-22 19:32:58 2001-10-22 15:19:58 2001-10-22 15:06:58 ---- ACTUAL OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 ---- FAILED ================================================================================ 023- 1969-12-31 18:59:59 023+ 1969-12-31 23:59:59 025- 2001-10-22 19:19:58 025+ 2001-10-22 23:19:58 026- 2001-10-22 19:32:58 026+ 2001-10-22 23:32:58 027- 2001-10-22 15:19:58 027+ 2001-10-22 19:19:58 028- 2001-10-22 15:06:58 028+ 2001-10-22 19:06:58 ================================================================================ ================================================================================ /usr/home/chall/cmhin/php-4.3.2/ext/standard/tests/time/003.phpt ================================================================================ ---- EXPECTED OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 13:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 12:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 13:00:00 2000-04-29 12:00:00 ---- ACTUAL OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 07:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 06:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 07:00:00 2000-04-29 12:00:00 ---- FAILED ================================================================================ 008- 2000-05-29 13:00:00 008+ 2000-05-29 07:00:00 011- 2000-01-31 12:00:00 011+ 2000-01-31 06:00:00 014- 2000-04-29 13:00:00 014+ 2000-04-29 07:00:00 ================================================================================ ================================================================================ /usr/home/chall/cmhin/php-4.3.2/ext/standard/tests/time/mktime.phpt ================================================================================ ---- EXPECTED OUTPUT int(1009843200) int(1009843200) int(1009843200) int(1009843200) int(1025481600) int(1025481600) int(1025481600) int(1025481600) int(1009839600) int(1009839600) int(1009839600) int(1009836000) int(1025474400) int(1025474400) int(1025478000) int(1025474400) ---- ACTUAL OUTPUT int(1009843200) int(1009843200) int(1009843200) int(-3662) int(1025481600) int(1025481600) int(1025481600) int(-3662) int(1009839600) int(1009839600) int(1009839600) int(1009857600) int(1025474400) int(1025474400) int(1025456400) int(1025474400) ---- FAILED ================================================================================ 004- int(1009843200) 004+ int(-3662) 008- int(1025481600) 008+ int(-3662) 012- int(1009836000) 012+ int(1009857600) 015- int(1025478000) 015+ int(1025456400) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: FreeBSD Automake: Autoconf: Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Using built-in specs. Configured with: FreeBSD/sparc64 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021119 (release) Bison: bison (GNU Bison) 1.75 Written by Robert Corbett and Richard Stallman. Copyright (C) 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: /usr/home/chall/cmhin/php-4.3.2/sapi/cli/php: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x4046a000) libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x40586000) libssl.so.2 => /usr/lib/libssl.so.2 (0x40756000) libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x40890000) libmysqlclient.so.12 => /usr/local/mysql/lib/mysql/libmysqlclient.so.12 (0x40a94000) libz.so.2 => /usr/lib/libz.so.2 (0x40bc0000) libpam.so.2 => /usr/lib/libpam.so.2 (0x40cd2000) libm.so.2 => /usr/lib/libm.so.2 (0x40ddc000) libc.so.5 => /usr/lib/libc.so.5 (0x40f0c000) User's E-mail: chall at bcrl dot stcloudstate dot edu ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.2 System => FreeBSD java.bcrl.stcloudstate.edu 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Fri Jan 17 20:03:38 GMT 2003 root@numenor.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC sparc64 Build Date => Jul 17 2003 18:19:49 Configure Command => './configure' '--with-mysql=/usr/local/mysql' '--enable-memory-limit=yes' '--enable-debug=no' '--enable-force-cgi-redirect' '--enable-discard-path' '--disable-ipv6' '--with-openssl' '--with-imap' '--with-imap-ssl' '--with-apxs=/usr/local/apache/bin/apxs' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies _______________________________________________________________________ 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/local/lib/php/extensions/no-debug-non-zts-20020429 => /usr/local/lib/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 => .:/usr/local/lib/php => .:/usr/local/lib/php 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 => 30 max_input_time => -1 => -1 memory_limit => 8M => 8M 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 => On register_globals => Off => Off report_memleaks => On => On safe_mode => Off => Off safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value 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 => no value => no value xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On ctype ctype functions => enabled imap IMAP c-Client Version => 2001 SSL Support => enabled mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 4.0.13 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/usr/local/mysql/include/mysql MYSQL_LIBS => -L/usr/local/mysql/lib/mysql -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => -1 => -1 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.6g 9 Aug 2002 overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.51.2.2 $ session Session Support => enabled Registered save handlers => files user 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 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=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.2 Additional Modules Module Name Environment Variable => Value CONTENT_TYPE => SSH_CLIENT => 10.25.25.3 49648 22 USER => chall MAIL => /var/mail/chall SHLVL => 1 QUERY_STRING => HOME => /home/chall OLDPWD => /home/chall/cmhin/apache_1.3.27 TEST_PHP_SRCDIR => /usr/home/chall/cmhin/php-4.3.2 SSH_TTY => /dev/ttyp0 PAGER => more CONTENT_LENGTH => ENV => /home/chall/.shrc SCRIPT_FILENAME => PATH_TRANSLATED => LOGNAME => chall _ => /usr/bin/make TEST_PHP_EXECUTABLE => /usr/home/chall/cmhin/php-4.3.2/sapi/cli/php TERM => cons25 BLOCKSIZE => K PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/chall/bin SHELL => /usr/local/bin/bash REDIRECT_STATUS => __MKLVL__ => 1 REQUEST_METHOD => PWD => /home/chall/cmhin/php-4.3.2 SSH_CONNECTION => 10.25.25.3 49648 10.0.0.4 22 FTP_PASSIVE_MODE => YES CC => gcc EDITOR => vi PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["SSH_CLIENT"] => 10.25.25.3 49648 22 _SERVER["USER"] => chall _SERVER["MAIL"] => /var/mail/chall _SERVER["SHLVL"] => 1 _SERVER["QUERY_STRING"] => _SERVER["HOME"] => /home/chall _SERVER["OLDPWD"] => /home/chall/cmhin/apache_1.3.27 _SERVER["TEST_PHP_SRCDIR"] => /usr/home/chall/cmhin/php-4.3.2 _SERVER["SSH_TTY"] => /dev/ttyp0 _SERVER["PAGER"] => more _SERVER["CONTENT_LENGTH"] => _SERVER["ENV"] => /home/chall/.shrc _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["LOGNAME"] => chall _SERVER["_"] => /usr/bin/make _SERVER["TEST_PHP_EXECUTABLE"] => /usr/home/chall/cmhin/php-4.3.2/sapi/cli/php _SERVER["TERM"] => cons25 _SERVER["BLOCKSIZE"] => K _SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/chall/bin _SERVER["SHELL"] => /usr/local/bin/bash _SERVER["REDIRECT_STATUS"] => _SERVER["__MKLVL__"] => 1 _SERVER["REQUEST_METHOD"] => _SERVER["PWD"] => /home/chall/cmhin/php-4.3.2 _SERVER["SSH_CONNECTION"] => 10.25.25.3 49648 10.0.0.4 22 _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["CC"] => gcc _SERVER["EDITOR"] => vi _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CONTENT_TYPE"] => _ENV["SSH_CLIENT"] => 10.25.25.3 49648 22 _ENV["USER"] => chall _ENV["MAIL"] => /var/mail/chall _ENV["SHLVL"] => 1 _ENV["QUERY_STRING"] => _ENV["HOME"] => /home/chall _ENV["OLDPWD"] => /home/chall/cmhin/apache_1.3.27 _ENV["TEST_PHP_SRCDIR"] => /usr/home/chall/cmhin/php-4.3.2 _ENV["SSH_TTY"] => /dev/ttyp0 _ENV["PAGER"] => more _ENV["CONTENT_LENGTH"] => _ENV["ENV"] => /home/chall/.shrc _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["LOGNAME"] => chall _ENV["_"] => /usr/bin/make _ENV["TEST_PHP_EXECUTABLE"] => /usr/home/chall/cmhin/php-4.3.2/sapi/cli/php _ENV["TERM"] => cons25 _ENV["BLOCKSIZE"] => K _ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/chall/bin _ENV["SHELL"] => /usr/local/bin/bash _ENV["REDIRECT_STATUS"] => _ENV["__MKLVL__"] => 1 _ENV["REQUEST_METHOD"] => _ENV["PWD"] => /home/chall/cmhin/php-4.3.2 _ENV["SSH_CONNECTION"] => 10.25.25.3 49648 10.0.0.4 22 _ENV["FTP_PASSIVE_MODE"] => YES _ENV["CC"] => gcc _ENV["EDITOR"] => vi 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.

« previous php.qa (#15304) next »