selftest: Avoid test cross-contamination in samba.tests.posixacl
authorAndrew Bartlett <abartlet@samba.org>
Sun, 11 Nov 2012 20:53:40 +0000 (07:53 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 11 Nov 2012 22:39:54 +0000 (09:39 +1100)
commit94649e46b4dec528ab7e750d06a65ada3d978342
tree262772b441b76c73437fb1d4297d0e531c41534e
parent1d81e52bba65f05378db7027537aa27eb5bfa70a
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>
source4/scripting/python/samba/tests/posixacl.py