]> granicus.if.org Git - php/commitdiff
Another test that doesn't work as root
authorRasmus Lerdorf <rasmus@php.net>
Wed, 25 Nov 2009 04:00:55 +0000 (04:00 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 25 Nov 2009 04:00:55 +0000 (04:00 +0000)
ext/standard/tests/general_functions/proc_nice_variation5.phpt

index d8325106ba61ad5a042cd48a6eae07b1842eb2ea..efce8cf791a06d01c46079c083a768799cac1c1b 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(posix_geteuid() == 0) print "skip - Cannot run test as root.";
+?>
 --FILE--
 <?php