s4-test: Remove metadata and ldb.d directory on clean up
authorAmitay Isaacs <amitay@gmail.com>
Tue, 29 Nov 2011 00:15:05 +0000 (11:15 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 29 Nov 2011 05:00:36 +0000 (16:00 +1100)
commit5184fc889327d6e2fb7b446140bd17ea30cb3920
tree0dd71ff8de639e2d9eadb753c1bcc67f2bba989a
parent13545d781b257afe3c3a107a669851c38cdfefbd
s4-test: Remove metadata and ldb.d directory on clean up

When using partitions, metadata.tdb automatically gets created in
${prefix}ldb.d/ directory. To correctly clean up check if metadata.tdb
exists, then remove metadata.tdb and directory.
source4/scripting/python/samba/tests/samba3sam.py