PHP-4.3.2 failed tests on Linux-2.2.14

From: Date: Thu, 19 Jun 2003 20:53:14 +0000
Subject: PHP-4.3.2 failed tests on Linux-2.2.14
Groups: php.qa 
Request: Send a blank email to php-qa+get-14171@lists.php.net to get a copy of this message
Hello PHP folks. I have a no-name x86 system (Pentium MMX) running Linux-2.2.14 (originally Slackware-4.0, but with some patches applied and some packages upgraded), and I'm installing PHP-4.3.2 (I've been using PHP-4.3.1 on this system for a few months without any difficulty). The "make test" found errors in two of the tests. Results are appended below my signature. I'm going to go ahead with this, as this system is not required for any mission-critical applications, and I don't really expect that these errors will cause serious problems with the application(s) I'm using, but I felt I should report the problem, as requested. Thanks for your efforts ... -- ---------------------------------------------------------------------- Sylvain Robitaille syl@alcor.concordia.ca Systems analyst Concordia University Instructional & Information Technology Montreal, Quebec, Canada ---------------------------------------------------------------------- ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ctype on integers [ext/ctype/tests/001.phpt] mktime() [ext/standard/tests/time/mktime.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 73 Exts tested : 14 --------------------------------------------------------------------- Number of tests : 481 Tests skipped : 232 (48.2%) Tests warned : 0 ( 0.0%) Tests failed : 2 ( 0.4%) Tests passed : 247 (51.4%) --------------------------------------------------------------------- Time taken : 84 seconds ===================================================================== ================================================================================ /local/pkg/php/php-4.3.2/ext/ctype/tests/001.phpt ================================================================================ ---- EXPECTED OUTPUT ctype_lower 26 ctype_upper 26 ctype_alpha 52 ctype_digit 10 ctype_alnum 62 ctype_cntrl 33 ctype_graph 94 ctype_print 95 ctype_punct 32 ctype_space 6 ctype_xdigit 22 ---- ACTUAL OUTPUT ctype_lower 26 ctype_upper 26 ctype_alpha 52 ctype_digit 10 ctype_alnum 62 ctype_cntrl 161 ctype_graph 94 ctype_print 95 ctype_punct 32 ctype_space 6 ctype_xdigit 22 ---- FAILED ================================================================================ 006- ctype_cntrl 33 006+ ctype_cntrl 161 ================================================================================ ================================================================================ /local/pkg/php/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(1009836000) int(1025474400) int(1025474400) int(1025478000) int(1025474400) ---- FAILED ================================================================================ 004- int(1009843200) 004+ int(-3662) 008- int(1025481600) 008+ int(-3662) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux Automake: Autoconf: 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/i486-linux/2.7.2.3/specs gcc version 2.7.2.3 Bison: GNU Bison version 1.27 Libraries: libpq.so.3 => /local/pkg/postgresql/root-postgresql-7.3.2/lib/libpq.so.3 (0x4000a000) libintl.so.1 => /usr/lib/libintl.so.1 (0x4001c000) libpng.so.2 => /usr/lib/libpng.so.2 (0x40020000) libz.so.1 => /usr/lib/libz.so.1 (0x4004c000) libm.so.5 => /lib/libm.so.5 (0x4005b000) libdl.so.1 => /lib/libdl.so.1 (0x40064000) libc.so.5 => /lib/libc.so.5 (0x40067000) ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.2 System => Linux oldcharlotte 2.2.14 #25 Tue Jul 11 10:55:20 EDT 2000 i586 Build Date => Jun 19 2003 16:22:28 Configure Command => './configure' '--prefix=/local/pkg/php/root-php-4.3.2' '--with-apache=/local/pkg/apache/apache-1.3.27' '--with-config-file-path=/local/pkg/php/data' '--disable-cgi' '--with-gd' '--enable-sockets' '--with-gettext' '--with-zlib' '--with-pgsql=/local/pkg/postgresql/root-postgresql-7.3.2' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /local/pkg/php/root-php-4.3.1/etc/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, compress.zlib 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 => Off => Off 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 => syslog => syslog error_prepend_string => no value => no value error_reporting => 2047 => 2047 expose_php => On => On extension_dir => ./ => ./ file_uploads => Off => Off 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 => .:/local/pkg/php/root-php-4.3.2/lib/php => .:/local/pkg/php/root-php-4.3.2/lib/php log_errors => On => On log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 30 max_input_time => 60 => 60 open_basedir => no value => no value output_buffering => no value => no value output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => Off register_globals => Off => Off report_memleaks => On => On safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => me@localhost.com => me@localhost.com sendmail_path => /local/paths/sendmail -t -i => /local/paths/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 => On => On ctype ctype functions => enabled gd GD Support => enabled GD Version => bundled (2.0.12 compatible) GIF Read Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled gettext GetText Support => enabled mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.49 MYSQL_MODULE_TYPE => builtin MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => MYSQL_LIBS => 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 overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 pgsql PostgreSQL Support => enabled PostgreSQL(libpq) Version => 7.3.2 Multibyte character support => enabled SSL support => disabled Active Persistent Links => 0 Active Links => 0 Directive => Local Value => Master Value pgsql.allow_persistent => On => On pgsql.auto_reset_persistent => Off => Off pgsql.ignore_notice => Off => Off pgsql.log_notice => Off => Off pgsql.max_links => Unlimited => Unlimited pgsql.max_persistent => Unlimited => Unlimited 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 => Off => Off 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 standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /local/paths/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,IFS,PATH => LD_LIBRARY_PATH,IFS,PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.2 zlib ZLib Support => enabled Compiled Version => 1.1.3 Linked Version => 1.1.3 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 Environment Variable => Value REDIRECT_STATUS => SCRIPT_FILENAME => LOGNAME => syl CC => gcc VISUAL => vim SSH_TTY => /dev/ttyp1 MACHTYPE => i486 CONTENT_TYPE => TERM => xterm TEST_PHP_EXECUTABLE => /local/pkg/php/php-4.3.2/sapi/cli/php HOSTTYPE => i486-linux PATH => /root/bin:/local/paths:/usr/bin:/bin:/usr/sbin:/sbin:/usr/bin/X11 WHOAMI => root HOME => /root TEST_PHP_SRCDIR => /local/pkg/php/php-4.3.2 REQUEST_METHOD => SHELL => /bin/sh QUERY_STRING => USER => syl MANPATH => /root/man:/local/manpaths:/usr/man:/usr/X11/man GROUP => iits SSH_AUTH_SOCK => /tmp/ssh-syl/ssh-9181-agent VENDOR => intel DISPLAY => oldcharlotte:12.0 HOST => oldcharlotte MAKEFLAGS => SSH_CLIENT => 132.205.121.58 2034 22 OSTYPE => linux PWD => /local/pkg/php/php-4.3.2 _ => /local/pkg/php/php-4.3.2/sapi/cli/php MAKELEVEL => 1 SHLVL => 5 EDITOR => vim CONTENT_LENGTH => MFLAGS => PATH_TRANSLATED => PHP Variables Variable => Value _SERVER["REDIRECT_STATUS"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["LOGNAME"] => syl _SERVER["CC"] => gcc _SERVER["VISUAL"] => vim _SERVER["SSH_TTY"] => /dev/ttyp1 _SERVER["MACHTYPE"] => i486 _SERVER["CONTENT_TYPE"] => _SERVER["TERM"] => xterm _SERVER["TEST_PHP_EXECUTABLE"] => /local/pkg/php/php-4.3.2/sapi/cli/php _SERVER["HOSTTYPE"] => i486-linux _SERVER["PATH"] => /root/bin:/local/paths:/usr/bin:/bin:/usr/sbin:/sbin:/usr/bin/X11 _SERVER["WHOAMI"] => root _SERVER["HOME"] => /root _SERVER["TEST_PHP_SRCDIR"] => /local/pkg/php/php-4.3.2 _SERVER["REQUEST_METHOD"] => _SERVER["SHELL"] => /bin/sh _SERVER["QUERY_STRING"] => _SERVER["USER"] => syl _SERVER["MANPATH"] => /root/man:/local/manpaths:/usr/man:/usr/X11/man _SERVER["GROUP"] => iits _SERVER["SSH_AUTH_SOCK"] => /tmp/ssh-syl/ssh-9181-agent _SERVER["VENDOR"] => intel _SERVER["DISPLAY"] => oldcharlotte:12.0 _SERVER["HOST"] => oldcharlotte _SERVER["MAKEFLAGS"] => _SERVER["SSH_CLIENT"] => 132.205.121.58 2034 22 _SERVER["OSTYPE"] => linux _SERVER["PWD"] => /local/pkg/php/php-4.3.2 _SERVER["_"] => /local/pkg/php/php-4.3.2/sapi/cli/php _SERVER["MAKELEVEL"] => 1 _SERVER["SHLVL"] => 5 _SERVER["EDITOR"] => vim _SERVER["CONTENT_LENGTH"] => _SERVER["MFLAGS"] => _SERVER["PATH_TRANSLATED"] => _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.

« previous php.qa (#14171) next »