diff options
author | Rob Landley <rob@landley.net> | 2016-07-04 22:25:52 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-07-04 22:25:52 -0500 |
commit | fd78cb48e9ac3913c451599b2a86330dcd8e3167 (patch) | |
tree | f2e0f9dcdfdd83819d45fa827ac1e8a52c7caea3 /tests/chattr.test | |
parent | 0ed17f12764268006c945f49fe3103952b20a0fa (diff) | |
download | toybox-fd78cb48e9ac3913c451599b2a86330dcd8e3167.tar.gz |
Fix chattr and date tests.
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 |