diff options
author | Marcus Boerger <helly@php.net> | 2002-03-13 00:20:48 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-03-13 00:20:48 +0000 |
commit | 659833a066f1280c9cb7f6b955827cfe328298f1 (patch) | |
tree | e034869a0e402d322c83b40919341777c21fb4ca /ext/exif | |
parent | 617b26f41de96699bd2141241a6547ea37e4d4d1 (diff) | |
download | php-git-659833a066f1280c9cb7f6b955827cfe328298f1.tar.gz |
-remove filetime from test
# that's magic - now the test should work on all installations
Diffstat (limited to 'ext/exif')
-rw-r--r-- | ext/exif/tests/001.phpt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/exif/tests/001.phpt b/ext/exif/tests/001.phpt index 2fd3697936..487c94d388 100644 --- a/ext/exif/tests/001.phpt +++ b/ext/exif/tests/001.phpt @@ -16,11 +16,13 @@ $accept = ''; 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 |