Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Oren Tirosh
OpenLDAP
Commits
a4bc4af4
Commit
a4bc4af4
authored
22 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
close 'for' appropriately; clean also 'replica' subdir
parent
498d1f04
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/scripts/test007-replication
+2
-2
2 additions, 2 deletions
tests/scripts/test007-replication
with
2 additions
and
2 deletions
tests/scripts/test007-replication
+
2
−
2
View file @
a4bc4af4
...
...
@@ -40,7 +40,7 @@ fi
echo
"Cleaning up in
$DBDIR
..."
rm
-f
$DBDIR
/[!C]
*
echo
"Cleaning up in
$REPLDIR
..."
rm
-f
$REPLDIR
/[!C]
*
rm
-
r
f
$REPLDIR
/[!C]
*
echo
"Starting master slapd on TCP/IP port
$PORT
..."
.
$CONFFILTER
$BACKEND
$MONITORDB
<
$MASTERCONF
>
$DBCONF
...
...
@@ -65,12 +65,12 @@ for i in 0 1 2 3 4 5; do
$LDAPSEARCH
-s
base
-b
"
$MONITOR
"
-h
$LOCALHOST
-p
$PORT
\
'objectclass=*'
>
/dev/null 2>&1
RC
=
$?
done
if
test
$RC
=
0
;
then
break
fi
echo
"Waiting 5 seconds for slapd to start..."
sleep
5
done
echo
"Using ldapsearch to check that slave slapd is running..."
for
i
in
0 1 2 3 4 5
;
do
...
...
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