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
637df0ba
Commit
637df0ba
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
seems to work; in any case, it's yet disabled
parent
08a6909f
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/test036-meta-concurrency
+22
-4
22 additions, 4 deletions
tests/scripts/test036-meta-concurrency
with
22 additions
and
4 deletions
tests/scripts/test036-meta-concurrency
+
22
−
4
View file @
637df0ba
...
...
@@ -18,18 +18,32 @@ echo "running defines.sh"
echo
""
echo
"### this test is currently disabled; enable at own risk ###"
exit
0
if
test
$BACKMETA
=
metano
;
then
echo
"meta backend not available, test skipped"
exit
0
fi
if
test
"x
$TEST_META
"
!=
"xyes"
;
then
echo
"### this test is currently disabled;"
echo
"### set
\"
TEST_META=yes
\"
to enable (at own risk)."
exit
0
else
echo
"### this test is __very__ experimental; enable at own risk"
fi
rm
-rf
$TESTDIR
mkdir
-p
$TESTDIR
$DBDIR1
$DBDIR2
if
test
"x
$DB_CONFIG
"
!=
"x"
-a
-f
$DB_CONFIG
;
then
echo
"==> using DB_CONFIG
$DB_CONFIG
"
cp
$DB_CONFIG
$DBDIR1
cp
$DB_CONFIG
$DBDIR2
else
echo
"==> set
\"
DB_CONFIG
\"
to the location of the DB_CONFIG file"
echo
"==> you want to use for the test."
fi
echo
"Starting slapd on TCP/IP port
$PORT1
..."
.
$CONFFILTER
$BACKEND
$MONITORDB
<
$CONF
>
$CONF1
$SLAPD
-f
$CONF1
-h
$URI1
-d
$LVL
$TIMING
>
$LOG1
2>&1 &
...
...
@@ -112,8 +126,12 @@ for f in $DATADIR/do_* ; do
sed
-e
"s;
$BASEDN
;
$METABASEDN
;"
$f
>
$TESTDIR
/
$f
done
for
f
in
$TESTDIR
/
$DATADIR
/do_read.
*
;
do
echo
"ou=Meta,
$METABASEDN
"
>>
$f
done
echo
"Using tester for concurrent server access..."
$SLAPDTESTER
-P
"
$PROGDIR
"
-d
"
$TESTDIR
/
$DATADIR
"
-h
$LOCALHOST
-p
$PORT2
-D
"cn=Manager,
$METABASEDN
"
-w
$PASSWD
-l
5
0
-r
20
$SLAPDTESTER
-P
"
$PROGDIR
"
-d
"
$TESTDIR
/
$DATADIR
"
-h
$LOCALHOST
-p
$PORT2
-D
"cn=Manager,
$METABASEDN
"
-w
$PASSWD
-l
10
0
-r
20
RC
=
$?
if
test
$RC
!=
0
;
then
...
...
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