summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/onnode/0005.sh
blob: af237da9a313e648ff7e24b4f0c5f13d6070ecca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

. "${ONNODE_TESTS_DIR}/common.sh"

cmd="$ONNODE 3 hostname"

define_test "$cmd" "all nodes OK"

required_result <<EOF
-n 192.168.1.104 hostname
EOF

simple_test $cmd