lists.arthurdejong.org
RSS feed

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

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

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



Author: arthur
Date: Mon May 23 22:05:14 2011
New Revision: 1466
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1466

Log:
add test case for two-character user name

Modified:
   nss-pam-ldapd/tests/test_common.c

Modified: nss-pam-ldapd/tests/test_common.c
==============================================================================
--- nss-pam-ldapd/tests/test_common.c   Sat May 21 16:54:17 2011        (r1465)
+++ nss-pam-ldapd/tests/test_common.c   Mon May 23 22:05:14 2011        (r1466)
@@ -38,6 +38,7 @@
   assert(isvalidname("foo\\bar"));
   assert(!isvalidname("\\foo\\bar"));
   assert(!isvalidname("foo\\bar\\"));
+  assert(isvalidname("me")); /* try short name */
 }
 
 /* the main program... */
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits