selftest: Avoid test cross-contamination in samba.tests.posixacl
commit619905d357651e0b43ab142a896fcb0cccd126e2
authorAndrew Bartlett <abartlet@samba.org>
Sun, 11 Nov 2012 20:53:40 +0000 (12 07:53 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 3 Dec 2012 11:47:04 +0000 (3 12:47 +0100)
treea5d69cb4bbd528e5be6c7256530aa49027c3361d
parent8e278b88f712cc7050ce67808d2d611f57ad8d6f
selftest: Avoid test cross-contamination in samba.tests.posixacl

This creates a new xattr.tdb per unit test, which avoids once and for all
the issue of dev/inode reuse.

For test_setposixacl_dir_getntacl_smbd the file ownership also set specifically.

Andrew Bartlett

Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
(cherry picked from commit 94649e46b4dec528ab7e750d06a65ada3d978342)
source4/scripting/python/samba/tests/posixacl.py