summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/stubs/tdbtool
blob: c6c0a166044a229768eb0dbe26695892ba4d8ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

if [ -z "$1" ] ; then
    if [ "$FAKE_TDBTOOL_SUPPORTS_CHECK" = "yes" ] ; then
	echo "check"
    fi
fi

if [ "$FAKE_TDB_IS_OK" = "yes" ] ; then
    echo "Database integrity is OK"
else
    echo "Database is busted"
fi

exit 0