]> granicus.if.org Git - php/commitdiff
- skip if proc_nice is not available
authorPierre Joye <pajoye@php.net>
Sun, 24 Jan 2010 12:05:58 +0000 (12:05 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 24 Jan 2010 12:05:58 +0000 (12:05 +0000)
ext/standard/tests/general_functions/proc_nice_basic.phpt
ext/standard/tests/general_functions/proc_nice_error.phpt
ext/standard/tests/general_functions/proc_nice_variation1.phpt
ext/standard/tests/general_functions/proc_nice_variation2.phpt
ext/standard/tests/general_functions/proc_nice_variation3.phpt
ext/standard/tests/general_functions/proc_nice_variation5.phpt
ext/standard/tests/general_functions/proc_nice_variation6.phpt
ext/standard/tests/general_functions/proc_nice_variation7.phpt

index 5a95756276c0461a75225899e5cc0207eaedd9a5..3a958901a240e8238c73fc7763af3d291c58e121 100644 (file)
@@ -5,6 +5,10 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
 Fabio Fabbrucci (fabbrucci@grupporetina.com)
 Michele Orselli (mo@ideato.it)
 Simone Gentili (sensorario@gmail.com)
+--SKIPIF--
+<?php
+if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+?>
 --FILE--
 <?php
        function getNice($id)
index c50812c863c5c4bd63136ad9a597d23499245f22..09f84fa552a13d2a7c0d94b30f6ca3ed10853307 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 Test function proc_nice() by calling it more than or less than its expected arguments
+--SKIPIF--
+<?php
+if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+?>
 --FILE--
 <?php
 
index b86155c4b2504695e52d5f60e3a17798705d3229..8c2bdf0df6b162a73c45a07452a1eee84a80806e 100644 (file)
@@ -5,6 +5,10 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
 Fabio Fabbrucci (fabbrucci@grupporetina.com)
 Michele Orselli (mo@ideato.it)
 Simone Gentili (sensorario@gmail.com)
+--SKIPIF--
+<?php
+if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+?>
 --FILE--
 <?php
 
index 620fe91447ed33ca74ee6a5ce00e3bbd75ba5388..42cbf9e00fd5ecd575d6c95660781e8ab3b8fee7 100644 (file)
@@ -5,6 +5,10 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
 Fabio Fabbrucci (fabbrucci@grupporetina.com)
 Michele Orselli (mo@ideato.it)
 Simone Gentili (sensorario@gmail.com)
+--SKIPIF--
+<?php
+if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+?>
 --FILE--
 <?php
 
index 458126db4a218ff00fa3e2c98351b5d96099269b..46b444358e0b3f1a20f3b25772ee1e6c3452d919 100644 (file)
@@ -5,6 +5,10 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
 Fabio Fabbrucci (fabbrucci@grupporetina.com)
 Michele Orselli (mo@ideato.it)
 Simone Gentili (sensorario@gmail.com)
+--SKIPIF--
+<?php
+if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+?>
 --FILE--
 <?php
 
index efce8cf791a06d01c46079c083a768799cac1c1b..c22ca56ca45156f8bc00a0d0dd15b9bed3d80325 100644 (file)
@@ -7,7 +7,8 @@ Michele Orselli (mo@ideato.it)
 Simone Gentili (sensorario@gmail.com)
 --SKIPIF--
 <?php
-        if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
+       if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+       if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
 ?>
 --FILE--
 <?php
index b4babd59301a48bbcf30d4f11e5e38c939e4aecc..d52c0c0796518852306a0bc494b8604e88103398 100644 (file)
@@ -5,6 +5,10 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
 Fabio Fabbrucci (fabbrucci@grupporetina.com)
 Michele Orselli (mo@ideato.it)
 Simone Gentili (sensorario@gmail.com)
+--SKIPIF--
+<?php
+if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+?>
 --FILE--
 <?php
 
index 70487dd09da0f5a20f0ab24eb4433d4a89864c66..26dbab503158cdd23f0cba620ebec2b68f3fe99d 100644 (file)
@@ -5,6 +5,10 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
 Fabio Fabbrucci (fabbrucci@grupporetina.com)
 Michele Orselli (mo@ideato.it)
 Simone Gentili (sensorario@gmail.com)
+--SKIPIF--
+<?php
+if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+?>
 --FILE--
 <?php