summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/dbcheck.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-03-22 17:12:43 +1100
committerStefan Metzmacher <metze@samba.org>2013-03-25 11:35:03 +0100
commit1589e46d11f29551f3598876b62e29fcbad06580 (patch)
treed6caeb56d8de9080a7323563c96b0fe5aab852bc /testprogs/blackbox/dbcheck.sh
parent874a93bc1c437543474a6c574b0065b7b953ad38 (diff)
downloadsamba-1589e46d11f29551f3598876b62e29fcbad06580.tar.gz
selftest: Add tests for samba-tool dbcheck --reset-well-known-acls
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs/blackbox/dbcheck.sh')
-rwxr-xr-xtestprogs/blackbox/dbcheck.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/testprogs/blackbox/dbcheck.sh b/testprogs/blackbox/dbcheck.sh
index faf6fab82e9..c1e8aafd36f 100755
--- a/testprogs/blackbox/dbcheck.sh
+++ b/testprogs/blackbox/dbcheck.sh
@@ -16,6 +16,12 @@ dbcheck() {
$BINDIR/samba-tool dbcheck --cross-ncs $@
}
+# This test shows that this does not do anything to a current
+# provision (that would be a bug)
+dbcheck_reset_well_known_acls() {
+ $BINDIR/samba-tool dbcheck --cross-ncs --reset-well-known-acls $@
+}
+
reindex() {
$BINDIR/samba-tool dbcheck --reindex
}