ITS#4777 test delete of remote attribute

This commit is contained in:
Howard Chu 2006-12-12 20:00:43 +00:00
parent 499c9369e1
commit 73c2e093d4
3 changed files with 20 additions and 0 deletions

View File

@ -5,6 +5,7 @@ uid: danger
sn: warning
cn: danger
businessCategory: backend-opaque
initials: dw
carLicense: BACK
departmentNumber: 7341
displayName: Warning

View File

@ -4,6 +4,7 @@ uid: danger
sn: danger
cn: henry
businessCategory: frontend-override
initials: dw
carLicense: LIVID
departmentNumber: 9999999
displayName: Warning

View File

@ -550,6 +550,24 @@ if test $RC != 16 ; then
exit 1
fi
echo "Testing delete: valid local record, remote attribute..."
$LDAPMODIFY -v -D "$TRANSLUCENTROOT" -H $URI2 -w $PASSWD > \
$TESTOUT 2>&1 << EOF_MOD8
version: 1
dn: uid=danger,ou=users,o=translucent
changetype: modify
delete: initials
EOF_MOD8
RC=$?
if test $RC != 0 ; then
echo "ldapmodify failed ($RC)"
grep "$FAILURE" $TESTOUT
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit 1
fi
echo "Testing modify: valid remote record, combination add-modify-delete..."
$LDAPMODIFY -v -D "$TRANSLUCENTROOT" -H $URI2 -w $PASSWD > \