sort test output

This commit is contained in:
Pierangelo Masarati 2007-12-11 16:36:28 +00:00
parent 4d53c886a8
commit f9ec3a5792
3 changed files with 48 additions and 48 deletions

View File

@ -1,28 +1,28 @@
dn: c=US
objectClass: country
c: US
dn: o=Example,c=US
objectClass: organization
o: Example
o: Example, Inc.
dn: c=UK
objectClass: country
c: UK
dn: o=Example,c=UK
objectClass: organization
o: Example
o: Example, Ltd.
dn: c=IT
objectClass: country
c: IT
dn: o=Esempio,c=IT
objectClass: organization
o: Esempio
o: Esempio S.p.A.
o: Example
dn: o=Example,c=UK
objectClass: organization
o: Example
o: Example, Ltd.
dn: o=Example,c=US
objectClass: organization
o: Example
o: Example, Inc.
dn: c=IT
objectClass: country
c: IT
dn: c=UK
objectClass: country
c: UK
dn: c=US
objectClass: country
c: US

View File

@ -1,24 +1,12 @@
dn: c=US
objectClass: country
c: US
dn: o=Example,c=US
dn: o=Beispiel,c=DE
objectClass: organization
o: Beispiel
o: Beispiel GmbH
o: Example
o: Example, Inc.
dn: c=UK
dn: c=DE
objectClass: country
c: UK
dn: o=Example,c=UK
objectClass: organization
o: Example
o: Example, Ltd.
dn: c=IT
objectClass: country
c: IT
c: DE
dn: o=Esempio,c=IT
objectClass: organization
@ -26,13 +14,25 @@ o: Esempio
o: Esempio S.p.A.
o: Example
dn: c=DE
objectClass: country
c: DE
dn: o=Beispiel,c=DE
dn: o=Example,c=UK
objectClass: organization
o: Beispiel
o: Beispiel GmbH
o: Example
o: Example, Ltd.
dn: o=Example,c=US
objectClass: organization
o: Example
o: Example, Inc.
dn: c=IT
objectClass: country
c: IT
dn: c=UK
objectClass: country
c: UK
dn: c=US
objectClass: country
c: US

View File

@ -66,7 +66,7 @@ fi
echo "Searching database..."
$LDAPSEARCH -b "" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1
$LDAPSEARCH -S "" -b "" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1
RC=$?
if test $RC != 0 ; then
@ -143,7 +143,7 @@ EOF
echo "Searching database..."
$LDAPSEARCH -b "" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1
$LDAPSEARCH -S "" -b "" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1
RC=$?
if test $RC != 0 ; then