summaryrefslogtreecommitdiffstats
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-07-13 17:26:59 +1000
committerAndrew Tridgell <tridge@samba.org>2011-07-21 11:44:32 +1000
commitbba7dc50927ae572a9a1897896867c24343e45d5 (patch)
treedaf8f22fc848c54cf184068336a7bc892506d1e5 /testprogs
parent190ec8796409870d5af2bcd53482cd56cd73f33e (diff)
downloadsamba-bba7dc50927ae572a9a1897896867c24343e45d5.tar.gz
samba-bba7dc50927ae572a9a1897896867c24343e45d5.tar.xz
samba-bba7dc50927ae572a9a1897896867c24343e45d5.zip
dbcheck: test the --reindex option
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'testprogs')
-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