indeyets                Mon Sep  8 12:08:41 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/pcntl/tests    002.phpt 
  Log:
  pcntl_sigwaitinfo() and pcntl_sigtimedwait() functions are conditionally 
enabled, so, test should verify if they are present
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pcntl/tests/002.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/pcntl/tests/002.phpt
diff -u php-src/ext/pcntl/tests/002.phpt:1.1.2.3 
php-src/ext/pcntl/tests/002.phpt:1.1.2.4
--- php-src/ext/pcntl/tests/002.phpt:1.1.2.3    Tue Aug  5 15:12:19 2008
+++ php-src/ext/pcntl/tests/002.phpt    Mon Sep  8 12:08:41 2008
@@ -4,6 +4,7 @@
 <?php
        if (!extension_loaded('pcntl')) die('skip pcntl extension not 
available');
        elseif (!extension_loaded('posix')) die('skip posix extension not 
available');
+       elseif (!function_exists('pcntl_sigwaitinfo') or 
!function_exists('pcntl_sigtimedwait')) die('skip required functionality is not 
available');
 ?>
 --FILE--
 <?php



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

Reply via email to