diff options
Diffstat (limited to 'tests/chattr.test')
-rwxr-xr-x | tests/chattr.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/chattr.test b/tests/chattr.test index bbf8b099..3574430f 100755 --- a/tests/chattr.test +++ b/tests/chattr.test @@ -4,6 +4,13 @@ #testing "name" "command" "result" "infile" "stdin" +if [ "$(id -u)" -ne 0 ] +then + echo "$SHOWSKIP: chgrp (not root)" + continue 2>/dev/null + exit +fi + # chattr - Testcases mkdir testattr |