|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-12-06 02:52 UTC] thuhc at yahoo dot com
Description: ------------ I built php 5.5.4 on ARM AARCH64 CPU, system linux 64bits I ran make test, I got issues: ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- finfo_file(): Testing mime types [ext/fileinfo/tests/finfo_file_002.phpt] Bug #65304 (Use of max int in array_sum) [ext/standard/tests/array/bug65304.phpt] Test fileperms(), chmod() functions: error conditions [ext/standard/tests/file/006_error.phpt] Test fileperms() & chmod() functions: usage variation - misc. perms [ext/standard/tests/file/006_variation2.phpt] chmod() basic functionality [ext/standard/tests/file/chmod_basic.phpt] Test lchgrp() function : basic functionality [ext/standard/tests/file/lchgrp_basic.phpt] Test lchown() function : basic functionality [ext/standard/tests/file/lchown_basic.phpt] gethostbyname() function - basic return valid ip address test [ext/standard/tests/network/gethostbyname_error004.phpt] getmxrr() test [ext/standard/tests/network/getmxrr.phpt] http-stream test [ext/standard/tests/network/http-stream.phpt] Test strncmp() function : usage variations - binary safe(binary values) [ext/standard/tests/strings/strncmp_variation6.phpt] Bug #61977 Test exit code for various errors [sapi/cli/tests/bug43177.phpt] Bug #61546 (functions related to current script failed when chdir() in cli sapi) [sapi/cli/tests/bug61546.phpt] Bug #61679 (Error on non-standard HTTP methods) [sapi/cli/tests/bug61679.phpt] Bug #61977 test CLI web-server support for Mime Type File extensions mapping [sapi/cli/tests/bug61977.phpt] Bug #65066 (Cli server not responsive when responding with 422 http status code): 100 status code [sapi/cli/tests/bug65066_100.phpt] Bug #65066 (Cli server not responsive when responding with 422 http status code): 422 status code [sapi/cli/tests/bug65066_422.phpt] Bug #65066 (Cli server not responsive when responding with 422 http status code): 511 status code [sapi/cli/tests/bug65066_511.phpt] Bug #65633 (built-in server treat some http headers as case-sensitive) [sapi/cli/tests/bug65633.phpt] basic function [sapi/cli/tests/php_cli_server_001.phpt] $_SERVER variable [sapi/cli/tests/php_cli_server_002.phpt] Bug #55726 (Changing the working directory makes router script inaccessible) [sapi/cli/tests/php_cli_server_003.phpt] Bug #55747 (request headers missed in $_SERVER) [sapi/cli/tests/php_cli_server_004.phpt] Post a file [sapi/cli/tests/php_cli_server_005.phpt] Bug #55755 (SegFault when outputting header WWW-Authenticate) [sapi/cli/tests/php_cli_server_006.phpt] Bug #55758 (Digest Authenticate missed in 5.4) [sapi/cli/tests/php_cli_server_007.phpt] SERVER_PROTOCOL header availability [sapi/cli/tests/php_cli_server_008.phpt] PATH_INFO (relevant to #60112) [sapi/cli/tests/php_cli_server_009.phpt] Bug #60180 ($_SERVER["PHP_SELF"] incorrect) [sapi/cli/tests/php_cli_server_010.phpt] Bug #60159 (Router returns false, but POST is not passed to requested resource) [sapi/cli/tests/php_cli_server_012.phpt] No router, no script [sapi/cli/tests/php_cli_server_013.phpt] Bug #60477: Segfault after two multipart/form-data POST requestes [sapi/cli/tests/php_cli_server_014.phpt] Bug #60523 (PHP Errors are not reported in browsers using built-in SAPI) [sapi/cli/tests/php_cli_server_015.phpt] Bug #60591 (Memory leak when access a non-exists file) [sapi/cli/tests/php_cli_server_016.phpt] Implement Req #60850 (Built in web server does not set $_SERVER['SCRIPT_FILENAME'] when using router) [sapi/cli/tests/php_cli_server_017.phpt] Implement Req #61679 (Support HTTP PATCH method) [sapi/cli/tests/php_cli_server_018.phpt] ===================================================================== PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 22:00:02 2025 UTC |
================================================================================ /home/root/php-src/ext/fileinfo/tests/finfo_file_002.phpt ================================================================================ array(8) { ["/home/root/php-src/ext/fileinfo/tests/resources/dir.zip"]=> string(15) "application/zip" ["/home/root/php-src/ext/fileinfo/tests/resources/test.awk"]=> string(10) "text/plain" ["/home/root/php-src/ext/fileinfo/tests/resources/test.bmp"]=> string(14) "image/x-ms-bmp" ["/home/root/php-src/ext/fileinfo/tests/resources/test.gif"]=> string(9) "image/gif" ["/home/root/php-src/ext/fileinfo/tests/resources/test.jpg"]=> string(10) "image/jpeg" ["/home/root/php-src/ext/fileinfo/tests/resources/test.mp3"]=> string(24) "application/octet-stream" ["/home/root/php-src/ext/fileinfo/tests/resources/test.pdf"]=> string(15) "application/pdf" ["/home/root/php-src/ext/fileinfo/tests/resources/test.png"]=> string(9) "image/png" } ================================================================================ 013+ string(24) "application/octet-stream" 013- string(10) "audio/mpeg" ================================================================================ ================================================================================ /home/root/php-src/ext/standard/tests/array/bug65304.phpt ================================================================================ int(-9223372036854775808) float(9.2233720368548E+18) ================================================================================ 001+ int(-9223372036854775808) 002- float(%s) ================================================================================Hi ardbiesheuvel, About mimetype issue on test.mp3, I found an issue in ext/fileinfo/libmagic/apprentice.c protected uint64_t file_signextend(struct magic_set *ms, struct magic *m, uint64_t v) ... case FILE_BYTE: v = (char) v; break; ... char is unsigned char by default on ARM (on Intel char is signed char by default) --> invalid mimetype with test.mp3 If I changed code: v = (signed char) v --> it's ok.