diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-03-06 16:06:08 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-03-06 16:06:08 +0100 |
commit | 22caa34b311a9e1c03cda16544b0ef6b907dba05 (patch) | |
tree | 5e8340c200a052305f9683aad00c8c42b5cc373c /tests/test_nsscmds.sh | |
parent | 4a2ce49d2ce19d0eb04ac509675ac9a191a0ed16 (diff) |
add some test groups and add the arthur user to them to test whether all are returned correctly
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1379 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'tests/test_nsscmds.sh')
-rwxr-xr-x | tests/test_nsscmds.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_nsscmds.sh b/tests/test_nsscmds.sh index a930699..562a687 100755 --- a/tests/test_nsscmds.sh +++ b/tests/test_nsscmds.sh @@ -2,7 +2,7 @@ # test.sh - simple test script to check output of name lookup commands # -# Copyright (C) 2007, 2008, 2009, 2010 Arthur de Jong +# Copyright (C) 2007, 2008, 2009, 2010, 2011 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -182,7 +182,7 @@ testgroup:*:6100:arthur,test,testuser4 EOM check "groups arthur | sed 's/^.*://'" << EOM -users testgroup testgroup2 +users testgroup testgroup2 grp4 grp5 grp6 grp7 grp8 grp9 grp10 grp11 grp12 grp13 grp14 grp15 grp16 grp17 grp18 EOM check "groups testuser4 | sed 's/^.*://'" << EOM @@ -196,7 +196,7 @@ users:*:100:arthur,test EOM check "getent group | wc -l" << EOM -`grep -c : /etc/group | awk '{print $1 + 5}'` +`grep -c : /etc/group | awk '{print $1 + 20}'` EOM check "getent group | grep ^largegroup | sortgroup" << EOM |