Test results
| From: | noreply@php.net | Date: | Fri, 15 Nov 2002 16:30:08 +0000 |
| Subject: | Test results | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-6813@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Check for exif_read_data, Unicode user comment [ext/exif/tests/exif003.phpt]
Check for exif_read_data, Unicode WinXP tags [ext/exif/tests/exif004.phpt]
=====================================================================
================================================================================
/home/koizumi/src/php.net/HEAD/php4/ext/exif/tests/exif003.phpt
================================================================================
---- EXPECTED OUTPUT
array(5) {
["FILE"]=>
array(6) {
["FileName"]=>
string(9) "test3.jpg"
["FileDateTime"]=>
int(%s)
["FileSize"]=>
int(1240)
["FileType"]=>
int(2)
["MimeType"]=>
string(10) "image/jpeg"
["SectionsFound"]=>
string(33) "ANY_TAG, IFD0, THUMBNAIL, COMMENT"
}
["COMPUTED"]=>
array(12) {
["html"]=>
string(20) "width="1" height="1""
["Height"]=>
int(1)
["Width"]=>
int(1)
["IsColor"]=>
int(1)
["ByteOrderMotorola"]=>
int(1)
["UserComment"]=>
string(7) "ÄÖÜßäöü"
["UserCommentEncoding"]=>
string(7) "UNICODE"
["Copyright"]=>
string(41) "Photo (c) M.Boerger, Edited by M.Boerger."
["Copyright.Photographer"]=>
string(19) "Photo (c) M.Boerger"
["Copyright.Editor"]=>
string(20) "Edited by M.Boerger."
["Thumbnail.FileType"]=>
int(2)
["Thumbnail.MimeType"]=>
string(10) "image/jpeg"
}
["IFD0"]=>
array(2) {
["Copyright"]=>
string(19) "Photo (c) M.Boerger"
["UserComment"]=>
string(7) "UNICODE"
}
["THUMBNAIL"]=>
array(2) {
["JPEGInterchangeFormat"]=>
int(134)
["JPEGInterchangeFormatLength"]=>
int(523)
}
["COMMENT"]=>
array(3) {
[0]=>
string(11) "Comment #1."
[1]=>
string(11) "Comment #2."
[2]=>
string(13) "Comment #3end"
}
}
---- ACTUAL OUTPUT
array(5) {
["FILE"]=>
array(6) {
["FileName"]=>
string(9) "test3.jpg"
["FileDateTime"]=>
int(1024957362)
["FileSize"]=>
int(1240)
["FileType"]=>
int(2)
["MimeType"]=>
string(10) "image/jpeg"
["SectionsFound"]=>
string(33) "ANY_TAG, IFD0, THUMBNAIL, COMMENT"
}
["COMPUTED"]=>
array(12) {
["html"]=>
string(20) "width="1" height="1""
["Height"]=>
int(1)
["Width"]=>
int(1)
["IsColor"]=>
int(1)
["ByteOrderMotorola"]=>
int(1)
["UserComment"]=>
string(15) "[0x0]Ä[0x0]Ö[0x0]Ü[0x0]ß[0x0]ä[0x0]ö[0x0]ü[0x0]"
["UserCommentEncoding"]=>
string(7) "UNICODE"
["Copyright"]=>
string(41) "Photo (c) M.Boerger, Edited by M.Boerger."
["Copyright.Photographer"]=>
string(19) "Photo (c) M.Boerger"
["Copyright.Editor"]=>
string(20) "Edited by M.Boerger."
["Thumbnail.FileType"]=>
int(2)
["Thumbnail.MimeType"]=>
string(10) "image/jpeg"
}
["IFD0"]=>
array(2) {
["Copyright"]=>
string(19) "Photo (c) M.Boerger"
["UserComment"]=>
string(7) "UNICODE"
}
["THUMBNAIL"]=>
array(2) {
["JPEGInterchangeFormat"]=>
int(134)
["JPEGInterchangeFormatLength"]=>
int(523)
}
["COMMENT"]=>
array(3) {
[0]=>
string(11) "Comment #1."
[1]=>
string(11) "Comment #2."
[2]=>
string(13) "Comment #3end"
}
}
---- FAILED
================================================================================
007- int(%s)
007+ int(1024957362)
030- string(7) "ÄÖÜßäöü"
030+ string(15) "[0x0]Ä[0x0]Ö[0x0]Ü[0x0]ß[0x0]ä[0x0]ö[0x0]ü[0x0]"
================================================================================
================================================================================
/home/koizumi/src/php.net/HEAD/php4/ext/exif/tests/exif004.phpt
================================================================================
---- EXPECTED OUTPUT
array(5) {
["Subject"]=>
string(10) "Subject..."
["Keywords"]=>
string(11) "Keywords..."
["Author"]=>
string(9) "Rui Carmo"
["Comments"]=>
string(29) "Comments
Line2
Line3
Line4"
["Title"]=>
string(8) "Title..."
}
---- ACTUAL OUTPUT
array(5) {
["Subject"]=>
string(1) "S"
["Keywords"]=>
string(1) "K"
["Author"]=>
string(1) "R"
["Comments"]=>
string(1) "C"
["Title"]=>
string(1) "T"
}
---- FAILED
================================================================================
003- string(10) "Subject..."
003+ string(1) "S"
005- string(11) "Keywords..."
005+ string(1) "K"
007- string(9) "Rui Carmo"
007+ string(1) "R"
009- string(29) "Comments
009+ string(1) "C"
010- Line2
010+ ["Title"]=>
011- Line3
011+ string(1) "T"
012- Line4"
012+ }
013- ["Title"]=>
014- string(8) "Title..."
015- }
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
Linux
Automake:
automake (GNU automake) 1.7
Written by Tom Tromey <tromey@redhat.com>.
Copyright 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.
Autoconf:
autoconf (GNU Autoconf) 2.54
Written by David J. MacKenzie and Akim Demaille.
Copyright 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.
Libtool:
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
Compiler:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.4/specs
Configured with: ./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var
--sharedstatedir=/usr/share --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info
--build=i386-redhat-linux --host=i386-redhat-linux --enable-threads --enable-shared
Thread model: posix
gcc version 3.0.4
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.
[»²¹ÍÌõ -- ˡŪ¸úÎϤϱÑʸ¤¬Å¬ÍѤµ¤ì¤Þ¤¹]
¤³¤ì¤Ï¥Õ¥ê¡¼¥½¥Õ¥È¥¦¥§¥¢¤Ç¤¹ --
Ê£À½¤Ë¤Ä¤¤¤Æ¤Î¾ò·ï¤Ï¥½¡¼¥¹¤ò¸«¤Þ¤·¤ç¤¦¡£
°ìÀÚ¤ÎÊݾڤϤ¢¤ê¤Þ¤»¤ó --
¾¦¶ÈÀ¤äÌÜŪŬ¹çÀ¤Ë¤Ä¤¤¤Æ¤ÎÊݾڤ¹¤é¤¢¤ê¤Þ¤»¤ó¡£
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 4.4.0-dev
System => Linux roadrunner 2.4.19 #1 ÅÚ 8·î 10 22:57:18 JST 2002 i686
Build Date => Nov 15 2002 09:58:06
Configure Command => './configure' '--prefix=/home/koizumi/local'
'--with-apxs=/home/koizumi/local/apache/bin/apxs' '--enable-exif'
'--enable-debug' '--without-mysql' '--with-zlib=/usr'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /home/koizumi/local/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => yes
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.4.0, Copyright (c) 1998-2002 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_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 => http://www.php.net/ => http://www.php.net/
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 => /home/koizumi/local/lib/php/extensions/debug-non-zts-20020429 =>
/home/koizumi/local/lib/php/extensions/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 => .:/home/koizumi/local/lib/php => .:/home/koizumi/local/lib/php
log_err