diff options
Diffstat (limited to 'tests/groupdel.test')
-rwxr-xr-x | tests/groupdel.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/groupdel.test b/tests/groupdel.test index ea9ee9ad..94edcf90 100755 --- a/tests/groupdel.test +++ b/tests/groupdel.test @@ -5,6 +5,13 @@ [ -f testing.sh ] && . testing.sh +if [ "$(id -u)" -ne 0 ] +then + echo "$SHOWSKIP: groupdel (not root)" + continue 2>/dev/null + exit +fi + # Redirecting all output to /dev/null for grep and delgroup arg="&>/dev/null" |