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
ingo Voss
OpenLDAP
Commits
f54dc2b6
Commit
f54dc2b6
authored
Sep 28, 2005
by
Howard Chu
Browse files
Import newsuperior test from HEAD
parent
9997a2c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/scripts/test005-modrdn
View file @
f54dc2b6
...
...
@@ -199,8 +199,6 @@ $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
'cn=James A Jones 1'
>
$SEARCHOUT
2>&1
RC
=
$?
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
if
test
$RC
!=
0
;
then
echo
"ldapsearch failed (
$RC
)!"
exit
$RC
...
...
@@ -220,5 +218,19 @@ if test $? != 0 ; then
exit
1
fi
echo
"Testing modrdn with newSuperior as child of target "
$LDAPMODRDN
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
$TESTOUT
2>&1
-s
'cn=Sub1, ou=FooBar, cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Michigan,c=us'
\
'cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Michigan, c=US'
'cn=James A Jones 1'
RC
=
$?
if
test
$RC
-eq
0
;
then
echo
"ldapmodrdn succeeded, should have failed!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
1
fi
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
echo
">>>>> Test succeeded"
exit
0
Write
Preview
Supports
Markdown
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