downgradedatabase: blackbox: MDB backend
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Fri, 24 May 2019 02:54:03 +0000 (14:54 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 May 2019 04:41:25 +0000 (04:41 +0000)
commit4a95410a1543f854743aac24c6c7dc5ffc423aae
treeeceb96f4fcb8c407fd02b4d04d41f44dd539a9b4
parent0942a65b63cc99f36d3eba99e9c9551e10c5782e
downgradedatabase: blackbox: MDB backend

When Samba uses TDB as a backend store, all new database features are
toggled on/off when GUID indexing is toggled. But, GUID indexing can't
be disabled on MDB, so the other features are toggled separately.
Consequently, the downgradedatabase script behaves differently depending
on the database backend. This patch adds testing for the MDB behaviour.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/blackbox/downgradedatabase.py