mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#9124 Cancel exop test, piggybacking on syncrepl tests
This commit is contained in:
parent
eaabe336f3
commit
2a301c3040
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user