From:
Operating system: SLES 11 SP2
PHP version: 5.3.8
Package: Testing related
Bug Type: Bug
Bug description:About 107 auto test [phpt script] failed .
Description:
------------
I use the phpt file from php 5.3 tarball package for automation test.
11338 test file , 107 failed ,
in 107 failed :
# 33 test are expect as described in output
# 9 test have bug NO.
# 66 test is failed
66 test cases are:
./ext/calendar/tests/easter_date.phpt
./ext/calendar/tests/unixtojd.phpt
./ext/date/tests/DateTime_days-spring-type2-type2.phpt
./ext/date/tests/DateTime_days-spring-type2-type3.phpt
./ext/date/tests/DateTime_days-spring-type3-type2.phpt
./ext/date/tests/DateTime_days-spring-type3-type3.phpt
./ext/date/tests/DateTime_sub-dates.phpt
./ext/date/tests/DateTime_sub-february.phpt
./ext/date/tests/timezone_location_get.phpt
./ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt
./ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
./ext/gmp/tests/gmp_nextprime.phpt
./ext/intl/tests/resourcebundle_arrayaccess.phpt
./ext/intl/tests/resourcebundle_individual.phpt
./ext/intl/tests/resourcebundle_iterator.phpt
./ext/mysql/tests/001.phpt
./ext/mysql/tests/mysql_connect.phpt
./ext/mysql/tests/mysql_max_links.phpt
./ext/mysql/tests/mysql_sql_safe_mode.phpt
./ext/mysqli/tests/mysqli_connect.phpt
./ext/mysqli/tests/mysqli_connect_oo.phpt
./ext/mysqli/tests/mysqli_connect_oo_defaults.phpt
./ext/pcre/tests/006.phpt
./ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
./ext/pdo_mysql/tests/pdo_mysql_interface.phpt
./ext/posix/tests/posix_ttyname_error.phpt
./ext/posix/tests/posix_ttyname_variation1.phpt
./ext/posix/tests/posix_ttyname_variation2.phpt
./ext/posix/tests/posix_ttyname_variation3.phpt
./ext/posix/tests/posix_ttyname_variation4.phpt
./ext/posix/tests/posix_ttyname_variation5.phpt
./ext/posix/tests/posix_ttyname_variation6.phpt
./ext/posix/tests/posix_ttyname_variation7.phpt
./ext/session/tests/014.phpt
./ext/session/tests/015.phpt
./ext/session/tests/018.phpt
./ext/session/tests/020.phpt
./ext/session/tests/021.phpt
./ext/session/tests/session_id_variation2.phpt
./ext/sockets/tests/socket_strerror.phpt
./ext/spl/examples/tests/dualiterator_001.phpt
./ext/sqlite/tests/sqlite_session_001.phpt
./ext/sqlite/tests/sqlite_session_002.phpt
./ext/sqlite3/tests/sqlite3_prepare_001.phpt
./ext/standard/tests/class_object/is_a_error_001.phpt
./ext/standard/tests/class_object/is_subclass_of_error_001.phpt
./ext/standard/tests/general_functions/getservbyname_variation10.phpt
./ext/standard/tests/general_functions/getservbyname_variation9.phpt
./ext/standard/tests/general_functions/getservbyport_variation1.phpt
./ext/standard/tests/general_functions/phpinfo.phpt
./ext/standard/tests/general_functions/proc_nice_variation5.phpt
./ext/standard/tests/misc/time_sleep_until_basic.phpt
./ext/standard/tests/php_ini_loaded_file.phpt
./ext/standard/tests/strings/htmlentities02.phpt
./ext/standard/tests/strings/htmlentities04.phpt
./ext/standard/tests/strings/htmlentities10.phpt
./ext/standard/tests/strings/htmlentities11.phpt
./ext/standard/tests/strings/htmlentities13.phpt
./ext/standard/tests/strings/htmlentities15.phpt
./ext/standard/tests/strings/setlocale_variation2.phpt
./ext/xsl/tests/xslt010.phpt
./ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
./ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt
./sapi/cli/tests/001.phpt
./sapi/cli/tests/015.phpt
Test script:
---------------
only one line script
env TEST_PHP_EXECUTABLE=/usr/bin/php REPORT_EXIT_STATUS=1
TEST_PHP_SRCDIR=/usr/share/qa/qa_test_php53 TEST_PHP_DETAILED=1
NO_INTERACTION=1 /usr/bin/php -d 'open_basedir=' -d 'output_buffering=0' -d
'memory_limit=-1' /usr/share/qa/qa_test_php53/run-tests.php [phpt.file]
Expected result:
----------------
65 test cases should pass?
Actual result:
--------------
65 test cases failed
--
Edit bug report at https://bugs.php.net/bug.php?id=60467&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60467&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60467&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=60467&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60467&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=60467&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60467&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=60467&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=60467&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=60467&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=60467&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=60467&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=60467&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=60467&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60467&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=60467&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60467&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=60467&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=60467&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=60467&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=60467&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=60467&r=mysqlcfg