librpc: Shorten dcerpc_binding_handle_call a bit
[Samba/bjacke.git] / testprogs / blackbox / dbcheck.sh
blobc1e8aafd36fc60925e90c63cb3a072870a65b2ea
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 # This test shows that this does not do anything to a current
20 # provision (that would be a bug)
21 dbcheck_reset_well_known_acls() {
22 $BINDIR/samba-tool dbcheck --cross-ncs --reset-well-known-acls $@
25 reindex() {
26 $BINDIR/samba-tool dbcheck --reindex
29 force_modules() {
30 $BINDIR/samba-tool dbcheck --force-modules
33 testit "dbcheck" dbcheck
34 testit "reindex" reindex
35 testit "force_modules" force_modules
37 exit $failed