Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
4eacb029
Commit
4eacb029
authored
Jan 03, 2020
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Jan 09, 2020
Browse files
ITS#9124 Cancel exop test, piggybacking on syncrepl tests
parent
c3e2b307
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/scripts/test018-syncreplication-persist
View file @
4eacb029
...
...
@@ -495,6 +495,14 @@ EOMODS
sleep
$SLEEP1
fi
# Testing a cancel exop (should go in its own testcase)
$LDAPSEARCH
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
\
-e
'!cancel'
\
'(objectclass=*)'
'*'
$OPATTRS
>
$TESTOUT
2>&1
RC
=
$?
# cancelled operation returns -1, so no point of checking return code, either
# it's cancelled or we get stuck forever
echo
"Using ldapsearch to read all the entries from the provider..."
$LDAPSEARCH
-S
""
-b
"
$BASEDN
"
-h
$LOCALHOST
-p
$PORT1
\
'(objectclass=*)'
'*'
$OPATTRS
>
$MASTEROUT
2>&1
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment