kalle           Wed Jul 30 01:38:37 2008 UTC

  Modified files:              
    /php-src/ext/gd/tests       bug44849.phpt 
  Log:
  MFB: Add test case for #44849
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/tests/bug44849.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/gd/tests/bug44849.phpt
diff -u /dev/null php-src/ext/gd/tests/bug44849.phpt:1.2
--- /dev/null   Wed Jul 30 01:38:37 2008
+++ php-src/ext/gd/tests/bug44849.phpt  Wed Jul 30 01:38:37 2008
@@ -0,0 +1,13 @@
+--TEST--
+Bug #44849 (imagecolorclosesthwb is not available on Windows)
+--SKIPIF--
+<?php
+       if(!extension_loaded('gd')){ die('skip: gd extension not available'); }
+       if(strtoupper(substr(PHP_OS, 0, 3)) != 'WIN'){ die('skip: not a Windows 
operating system'); }
+?>
+--FILE--
+<?php
+       var_dump(function_exists('imagecolorclosesthwb'));
+?>
+--EXPECTF--
+bool(true)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to