diff options
Diffstat (limited to 'tests/groupadd.test')
-rwxr-xr-x | tests/groupadd.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/groupadd.test b/tests/groupadd.test index 091dccf7..6161ee2f 100755 --- a/tests/groupadd.test +++ b/tests/groupadd.test @@ -4,6 +4,13 @@ [ -f testing.sh ] && . testing.sh +if [ "$(id -u)" -ne 0 ] +then + echo "$SHOWSKIP: groupadd (not root)" + continue 2>/dev/null + exit +fi + # 70 characters long string; hereafter, we will use it as per our need. _s70="abcdefghijklmnopqrstuvwxyz123456789abcdefghijklmnopqrstuvwxyz123456789" |