Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
4f6758bf
Commit
4f6758bf
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
test compare in chain overlay
parent
4f9b916b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/scripts/test032-chain
+24
-1
24 additions, 1 deletion
tests/scripts/test032-chain
tests/scripts/test033-glue-syncrepl
+3
-1
3 additions, 1 deletion
tests/scripts/test033-glue-syncrepl
with
27 additions
and
2 deletions
tests/scripts/test032-chain
+
24
−
1
View file @
4f6758bf
...
...
@@ -133,8 +133,31 @@ for P in $PORT1 $PORT2 ; do
echo
"comparison failed - chained search didn't succeed"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
1
fi
fi
DN
=
"cn=Mark Elliot,ou=Alumni Association,ou=People,
$BASEDN
"
echo
"Comparing
\"
$DN
\"
on port
$P
..."
$LDAPCOMPARE
-h
$LOCALHOST
-p
$P
"
$DN
"
"cn:Mark Elliot"
>
$TESTOUT
2>&1
RC
=
$?
if
test
$RC
!=
0
;
then
echo
"ldapcompare failed (
$RC
)!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
fi
DN
=
"ou=Other,
$BASEDN
"
echo
"Comparing
\"
$DN
\"
on port
$P
with manageDSAit control..."
$LDAPCOMPARE
-h
$LOCALHOST
-p
$P
-M
"
$DN
"
"ou:Other"
>
$TESTOUT
2>&1
RC
=
$?
if
test
$RC
!=
0
;
then
echo
"ldapcompare failed (
$RC
)!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
fi
done
#
...
...
This diff is collapsed.
Click to expand it.
tests/scripts/test033-glue-syncrepl
+
3
−
1
View file @
4f6758bf
...
...
@@ -79,7 +79,7 @@ for i in 0 1 2 3 4 5; do
sleep
5
done
echo
"Waiting 15 seconds for s
lapd
s to sync..."
echo
"Waiting 15 seconds for s
hadow subtree
s to sync..."
sleep
15
for
P
in
$PORT1
$PORT2
;
do
...
...
@@ -90,6 +90,7 @@ for P in $PORT1 $PORT2 ; do
if
test
$RC
!=
0
;
then
echo
"ldapsearch failed (
$RC
)!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
fi
...
...
@@ -102,6 +103,7 @@ for P in $PORT1 $PORT2 ; do
if
test
$?
!=
0
;
then
echo
"comparison failed - database was not created correctly"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
1
fi
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment