summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Tammer <tammer@tammer.net>2012-01-26 09:35:08 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-01-26 09:36:39 -0800
commitd2faed7ebc061063b8653f41b973fecae2dbad90 (patch)
tree955b3e7d08efd9828066e9cc7f82e0bf5414b9cf
parent2a7afa746140382bc9615f6d66ae6f04d3469e48 (diff)
downloadperl-d2faed7ebc061063b8653f41b973fecae2dbad90.tar.gz
stat.t: Skip test when running as root
-rw-r--r--t/op/stat.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/op/stat.t b/t/op/stat.t
index 1fa0d2fae2..1606f5f9c9 100644
--- a/t/op/stat.t
+++ b/t/op/stat.t
@@ -524,6 +524,7 @@ SKIP: {
is($s1, $s2, q(-T _ doesn't break the statbuffer));
SKIP: {
skip "No lstat", 1 unless $Config{d_lstat};
+ skip "uid=0", 1 unless $<;
lstat($tmpfile);
-T _;
ok(eval { lstat _ },