cvs: php4 /ext/exif/tests 001.phpt
| From: | Marcus B�rger | Date: | Wed, 13 Mar 2002 00:20:50 +0000 |
| Subject: | cvs: php4 /ext/exif/tests 001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10044@lists.php.net to get a copy of this message | ||
helly Tue Mar 12 19:20:50 2002 EDT
Modified files:
/php4/ext/exif/tests 001.phpt
Log:
-remove filetime from test
# that's magic - now the test should work on all installations
Index: php4/ext/exif/tests/001.phpt
diff -u php4/ext/exif/tests/001.phpt:1.4 php4/ext/exif/tests/001.phpt:1.5
--- php4/ext/exif/tests/001.phpt:1.4 Tue Mar 12 11:43:28 2002
+++ php4/ext/exif/tests/001.phpt Tue Mar 12 19:20:48 2002
@@ -16,11 +16,13 @@
foreach($image as $idx=>$section) {
$accept .= $section;
foreach($section as $name=>$value) {
- $accept .= substr($name,0,2);
- $accept .= $value;
+ if ( $idx!='FILE' || $name!='FileDateTime') {
+ $accept .= substr($name,0,2);
+ $accept .= $value;
+ }
}
}
echo $accept;
?>
--EXPECT--
-ArrayFitest2.jpgFi1015448798Fi1240Fi2SeANY_TAG, IFD0, THUMBNAIL, COMMENTArrayhtwidth="1"
height="1"He1Wi1Is1UsExif test image.UsASCIICoPhoto (c) M.Boerger, Edited by
M.Boerger.CoPhoto (c) M.BoergerCoPhoto (c) M.BoergerArrayCoPhoto (c)
M.BoergerUsASCIIArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end
\ No newline at end of file
+ArrayFitest2.jpgFi1240Fi2SeANY_TAG, IFD0, THUMBNAIL, COMMENTArrayhtwidth="1"
height="1"He1Wi1Is1UsExif test image.UsASCIICoPhoto (c) M.Boerger, Edited by
M.Boerger.CoPhoto (c) M.BoergerCoPhoto (c) M.BoergerArrayCoPhoto (c)
M.BoergerUsASCIIArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end
\ No newline at end of file