git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
s4-test: don't fix broken objects during dbcheck test
[kai/samba-autobuild/.git]
/
testprogs
/
blackbox
/
dbcheck.sh
1
#!/bin/sh
2
3
if [ $# -lt 1 ]; then
4
cat <<EOF
5
Usage: dbcheck.sh PREFIX
6
EOF
7
exit 1;
8
fi
9
10
PREFIX="$1"
11
shift 1
12
13
. `dirname $0`/subunit.sh
14
15
dbcheck() {
16
$BINDIR/samba-tool dbcheck --cross-ncs $@
17
}
18
19
reindex() {
20
$BINDIR/samba-tool dbcheck --reindex
21
}
22
23
testit "dbcheck" dbcheck
24
testit "reindex" reindex
25
26
exit $failed