diff options
Diffstat (limited to 'io/bug-ftw3.c')
-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 fcc2ca7..19740f4 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) { |