cvs: php4 /ext/exif/tests 003.phpt
| From: | Marcus B�rger | Date: | Sun, 23 Jun 2002 00:38:25 +0000 |
| Subject: | cvs: php4 /ext/exif/tests 003.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12457@lists.php.net to get a copy of this message | ||
helly Sat Jun 22 20:38:25 2002 EDT
Modified files:
/php4/ext/exif/tests 003.phpt
Log:
-fix test results
Index: php4/ext/exif/tests/003.phpt
diff -u php4/ext/exif/tests/003.phpt:1.3 php4/ext/exif/tests/003.phpt:1.4
--- php4/ext/exif/tests/003.phpt:1.3 Fri Apr 12 12:35:56 2002
+++ php4/ext/exif/tests/003.phpt Sat Jun 22 20:38:25 2002
@@ -12,7 +12,9 @@
copy of test1.jpg as a thumbnail.
test3.jpg is the same as test2.jpg but with a UNICODE UserComment:
ÄÖ&Üßäöü
*/
-ini_alter('exif.encode_unicode', 'ISO-8859-15');
+chdir($_ENV['PHP_DIR']);
+ini_alter('exif.decode_unicode_motorola', 'UCS-2BE');
+ini_alter('exif.encode_unicode', 'ISO-8859-15');
$image = exif_read_data('./ext/exif/tests/test3.jpg','',true,false);
$accept = '';
foreach($image as $idx=>$section) {
@@ -27,4 +29,4 @@
echo $accept;
?>
--EXPECT--
-ArrayFitest3.jpgFi1237Fi2SeANY_TAG, IFD0, THUMBNAIL, COMMENTArrayhtwidth="1"
height="1"He1Wi1Is1By1UsÄÖÜßäöüUsUNICODECoPhoto (c) M.Boerger, Edited by
M.Boerger.CoPhoto (c) M.BoergerCoEdited by M.Boerger.ArrayCoPhoto (c)
M.BoergerUsUNICODEArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end
\ No newline at end of file
+ArrayFitest3.jpgFi1237Fi2Miimage/jpegSeANY_TAG, IFD0, THUMBNAIL, COMMENTArrayhtwidth="1"
height="1"He1Wi1Is1By1UsÄÖÜßäöüUsUNICODECoPhoto (c) M.Boerger, Edited by
M.Boerger.CoPhoto (c) M.BoergerCoEdited by M.Boerger.Th2Thimage/jpegArrayCoPhoto (c)
M.BoergerUsUNICODEArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end
\ No newline at end of file