cvs: php-src /ext/exif/tests exif_imagetype_variation1.phpt
| From: | Antony Dovgal | Date: | Sat, 10 Jan 2009 22:40:43 +0000 |
| Subject: | cvs: php-src /ext/exif/tests exif_imagetype_variation1.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55524@lists.php.net to get a copy of this message | ||
tony2001 Sat Jan 10 22:40:43 2009 UTC
Modified files:
/php-src/ext/exif/tests exif_imagetype_variation1.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/exif/tests/exif_imagetype_variation1.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/exif/tests/exif_imagetype_variation1.phpt
diff -u php-src/ext/exif/tests/exif_imagetype_variation1.phpt:1.2
php-src/ext/exif/tests/exif_imagetype_variation1.phpt:1.3
--- php-src/ext/exif/tests/exif_imagetype_variation1.phpt:1.2 Mon Dec 1 12:26:35 2008
+++ php-src/ext/exif/tests/exif_imagetype_variation1.phpt Sat Jan 10 22:40:42 2009
@@ -93,8 +93,6 @@
echo "Done\n";
?>
-
-?>
===Done===
--EXPECTF--
*** Testing exif_imagetype() : different types for filename argument ***
@@ -175,20 +173,32 @@
Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
bool(false)
-- Iteration 16 --
+
+Warning: exif_imagetype(): Filename cannot be empty in %s on line %d
bool(false)
-- Iteration 17 --
Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
bool(false)
-- Iteration 18 --
+
+Warning: exif_imagetype(): Filename cannot be empty in %s on line %d
bool(false)
-- Iteration 19 --
+
+Warning: exif_imagetype(): Filename cannot be empty in %s on line %d
bool(false)
-- Iteration 20 --
+
+Warning: exif_imagetype(): Filename cannot be empty in %s on line %d
bool(false)
-- Iteration 21 --
+
+Warning: exif_imagetype(): Filename cannot be empty in %s on line %d
bool(false)
-- Iteration 22 --
+
+Warning: exif_imagetype(): Filename cannot be empty in %s on line %d
bool(false)
-- Iteration 23 --
@@ -199,11 +209,12 @@
Warning: exif_imagetype(Resource id #%d): failed to open stream: No such file or directory in %s on
line %d
bool(false)
-- Iteration 25 --
+
+Warning: exif_imagetype(): Filename cannot be empty in %s on line %d
bool(false)
-- Iteration 26 --
+
+Warning: exif_imagetype(): Filename cannot be empty in %s on line %d
bool(false)
Done
-
-?>
===Done===
-