diff options
Diffstat (limited to 'io')
-rw-r--r-- | io/bug-ftw3.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/io/bug-ftw3.c b/io/bug-ftw3.c index fcc2ca7bba..19740f49f3 100644 --- a/io/bug-ftw3.c +++ b/io/bug-ftw3.c @@ -25,6 +25,12 @@ main (void) int r; int e; + if (getuid () == 0) + { + puts ("this test needs to be run by ordinary user"); + exit (0); + } + dname = mkdtemp (tmp); if (dname == NULL) { |