Imported Debian patch 4.8.10-2

This commit is contained in:
Timo Aaltonen
2020-11-23 20:48:56 +02:00
committed by Mario Fetka
parent 8bc559c5a1
commit 358acdd85f
917 changed files with 1185414 additions and 1069733 deletions

View File

@@ -299,4 +299,38 @@ class test_delegation(Declarative):
)
),
dict(
desc='Create %r with duplicate attrs & perms' % delegation1,
command=(
'delegation_add', [delegation1], dict(
attrs=[u'street', u'street'],
permissions=[u'write', u'write'],
group=u'editors',
memberof=u'admins',
)
),
expected=dict(
value=delegation1,
summary=u'Added delegation "%s"' % delegation1,
result=dict(
attrs=[u'street'],
permissions=[u'write'],
aciname=delegation1,
group=u'editors',
memberof=member1,
),
),
),
dict(
desc='Delete %r' % delegation1,
command=('delegation_del', [delegation1], {}),
expected=dict(
result=True,
value=delegation1,
summary=u'Deleted delegation "%s"' % delegation1,
)
),
]