git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dbcheck: test the --reindex option
[ira/wip.git]
/
testprogs
/
blackbox
/
dbcheck.sh
diff --git
a/testprogs/blackbox/dbcheck.sh
b/testprogs/blackbox/dbcheck.sh
index 447d14a8c854502d21cf762bc4cb93f6d609021a..b344eb44c474d1ca8a40a410a84a537149dc88f3 100755
(executable)
--- 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