dbcheck: test the --reindex option
authorAndrew Tridgell <tridge@samba.org>
Wed, 13 Jul 2011 07:26:59 +0000 (17:26 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Jul 2011 01:44:32 +0000 (11:44 +1000)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

testprogs/blackbox/dbcheck.sh

index 447d14a8c854502d21cf762bc4cb93f6d609021a..b344eb44c474d1ca8a40a410a84a537149dc88f3 100755 (executable)
@@ -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