- update the validnames changes to the self-tests so that their expectations
match the modified defaults (#737496)
This commit is contained in:
parent
8bc2efd6e8
commit
f2c5e44a07
@ -30,7 +30,15 @@ Index: tests/test_common.c
|
||||
|
||||
static void test_isvalidname(void)
|
||||
{
|
||||
@@ -41,6 +46,8 @@
|
||||
@@ -44,12 +43,15 @@ static void test_isvalidname(void)
|
||||
assert(isvalidname("sambamachine$"));
|
||||
assert(isvalidname("foo\\bar"));
|
||||
assert(!isvalidname("\\foo\\bar"));
|
||||
- assert(!isvalidname("foo\\bar\\"));
|
||||
+ assert(isvalidname("foo\\bar"));
|
||||
+ assert(isvalidname("foo\\bar\\"));
|
||||
}
|
||||
|
||||
/* the main program... */
|
||||
int main(int UNUSED(argc),char UNUSED(*argv[]))
|
||||
{
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
Name: nss-pam-ldapd
|
||||
Version: 0.7.13
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: An nsswitch module which uses directory servers
|
||||
Group: System Environment/Base
|
||||
License: LGPLv2+
|
||||
@ -68,6 +68,9 @@ autoreconf -f -i
|
||||
%configure --libdir=/%{_lib} --disable-pam
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
@ -258,6 +261,10 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Sep 12 2011 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-9
|
||||
- update the validnames changes to the self-tests so that their expectations
|
||||
match the modified defaults (#737496)
|
||||
|
||||
* Wed Aug 24 2011 Nalin Dahyabhai <nalin@redhat.com> 0.7.13-8
|
||||
- include backported enhancement to take URIs in the form "dns:DOMAIN" in
|
||||
addition to the already-implemented "dns" (#730309)
|
||||
|
Loading…
Reference in New Issue
Block a user