TMP: add a ctdb snapshot of current ctdb master (git://git.samba.org/ctdb.git) to...
[obnox/samba/samba-obnox.git] / ctdb / tests / onnode / 0001.sh
1 #!/bin/sh
2
3 . "${ONNODE_TESTS_DIR}/common.sh"
4
5 cmd="$ONNODE all hostname"
6
7 define_test "$cmd" "all nodes OK"
8
9 required_result <<EOF
10
11 >> NODE: 192.168.1.101 <<
12 -n 192.168.1.101 hostname
13
14 >> NODE: 192.168.1.102 <<
15 -n 192.168.1.102 hostname
16
17 >> NODE: 192.168.1.103 <<
18 -n 192.168.1.103 hostname
19
20 >> NODE: 192.168.1.104 <<
21 -n 192.168.1.104 hostname
22 EOF
23
24 simple_test $cmd