diff options
author | Rainer Tammer <tammer@tammer.net> | 2012-01-26 09:35:08 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-01-26 09:36:39 -0800 |
commit | d2faed7ebc061063b8653f41b973fecae2dbad90 (patch) | |
tree | 955b3e7d08efd9828066e9cc7f82e0bf5414b9cf /t/op/stat.t | |
parent | 2a7afa746140382bc9615f6d66ae6f04d3469e48 (diff) | |
download | perl-d2faed7ebc061063b8653f41b973fecae2dbad90.tar.gz |
stat.t: Skip test when running as root
Diffstat (limited to 't/op/stat.t')
-rw-r--r-- | t/op/stat.t | 1 |
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 _ }, |