Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
9621d0c3
Commit
9621d0c3
authored
Mar 21, 2021
by
Howard Chu
Browse files
Fix typos in schema replication check
parent
f2740c79
Pipeline
#2160
passed with stage
in 42 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/scripts/test059-consumer-config
View file @
9621d0c3
...
...
@@ -229,8 +229,7 @@ add: olcUpdateRef
olcUpdateRef:
$URI1
EOF
echo
"Waiting
$SLEEP1
seconds for syncrepl to receive changes..."
sleep
$SLEEP1
sleep
1
echo
"Using ldapsearch to check that syncrepl received config changes..."
RC
=
32
...
...
@@ -275,8 +274,8 @@ echo "Using ldapsearch to check that syncrepl received the schema changes..."
RC
=
32
for
i
in
0 1 2 3 4 5
;
do
RESULT
=
`
$LDAPSEARCH
-H
$URI2
-D
cn
=
config
-y
$CONFIGPWF
\
-s
base
-b
"cn=schema,cn=config"
\
'(cn=openldap)'
2>&1 |
awk
'/^dn:/ {print "OK"}'
`
-s
sub
-b
"cn=schema,cn=config"
\
'(cn=
*
openldap)'
2>&1 |
awk
'/^dn:/ {print "OK"}'
`
if
test
"x
$RESULT
"
=
"xOK"
;
then
RC
=
0
break
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment