From bba7dc50927ae572a9a1897896867c24343e45d5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 13 Jul 2011 17:26:59 +1000 Subject: dbcheck: test the --reindex option Pair-Programmed-With: Andrew Bartlett --- testprogs/blackbox/dbcheck.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testprogs/blackbox') 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 -- cgit