provision: fix nTSecurityDescriptor attributes of CN=*,${CONFIGDN} (bug #9481)
[Samba.git] / testprogs / blackbox / dbcheck.sh
blob1ea7811df612bd470f97d7ac758ecb40f6a8495c
1 #!/bin/sh
3 if [ $# -lt 1 ]; then
4 cat <<EOF
5 Usage: dbcheck.sh PREFIX
6 EOF
7 exit 1;
8 fi
10 PREFIX="$1"
11 shift 1
13 . `dirname $0`/subunit.sh
15 dbcheck() {
16 $BINDIR/samba-tool dbcheck --cross-ncs $@
19 reindex() {
20 $BINDIR/samba-tool dbcheck --reindex
23 testit "dbcheck" dbcheck
24 testit "reindex" reindex
26 exit $failed