summaryrefslogtreecommitdiff
path: root/ctdb/tests/onnode/0081.sh
blob: 412db87e4c645d209e7fd924e01681acf3435269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

cmd="$ONNODE lvsmaster hostname"

define_test "$cmd" "no lvsmaster"

ctdb_set_output 255 <<EOF
There is no LVS master
EOF

required_result 1 <<EOF
onnode: No lvsmaster available
EOF

simple_test $cmd