summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/dbcheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/testprogs/blackbox/dbcheck.sh b/testprogs/blackbox/dbcheck.sh
index 447d14a8c8..b344eb44c4 100755
--- a/testprogs/blackbox/dbcheck.sh
+++ b/testprogs/blackbox/dbcheck.sh
@@ -16,6 +16,11 @@ dbcheck() {
$BINDIR/samba-tool dbcheck --fix --cross-ncs --yes $@
}
+reindex() {
+ $BINDIR/samba-tool dbcheck --reindex
+}
+
testit "dbcheck" dbcheck
+testit "reindex" reindex
exit $failed