summaryrefslogtreecommitdiff
path: root/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/DirectoryIterator_getOwner_basic.phpt')
-rw-r--r--ext/spl/tests/DirectoryIterator_getOwner_basic.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt b/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
index c5e9f7c2c..a1092c2fe 100644
--- a/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
+++ b/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
@@ -1,5 +1,8 @@
--TEST--
SPL: DirectoryIterator test getOwner
+--SKIPIF--
+<?php
+if (posix_geteuid() == 0) die('SKIP Cannot run test as root.');
--CREDITS--
Cesare D'Amico <cesare.damico@gruppovolta.it>
Andrea Giorgini <agiorg@gmail.com>