lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1379 - nss-pam-ldapd/tests

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1379 - nss-pam-ldapd/tests



Author: arthur
Date: Sun Mar  6 16:06:08 2011
New Revision: 1379
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1379

Log:
add some test groups and add the arthur user to them to test whether all are 
returned correctly

Modified:
   nss-pam-ldapd/tests/test.ldif.gz
   nss-pam-ldapd/tests/test_nsscmds.sh

Modified: nss-pam-ldapd/tests/test.ldif.gz
==============================================================================
Binary file (source and/or target). No diff available.

Modified: nss-pam-ldapd/tests/test_nsscmds.sh
==============================================================================
--- nss-pam-ldapd/tests/test_nsscmds.sh Sun Mar  6 15:52:28 2011        (r1378)
+++ nss-pam-ldapd/tests/test_nsscmds.sh Sun Mar  6 16:06:08 2011        (r1379)
@@ -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 @@
 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 @@
 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
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits