diff options
Diffstat (limited to 'ctdb/tests/onnode/0001.sh')
-rwxr-xr-x | ctdb/tests/onnode/0001.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ctdb/tests/onnode/0001.sh b/ctdb/tests/onnode/0001.sh new file mode 100755 index 00000000000..6c86ac1212e --- /dev/null +++ b/ctdb/tests/onnode/0001.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +. "${ONNODE_TESTS_DIR}/common.sh" + +cmd="$ONNODE all hostname" + +echo "$cmd - all nodes OK" + +required_result <<EOF + +>> NODE: 192.168.1.101 << +-n 192.168.1.101 hostname + +>> NODE: 192.168.1.102 << +-n 192.168.1.102 hostname + +>> NODE: 192.168.1.103 << +-n 192.168.1.103 hostname + +>> NODE: 192.168.1.104 << +-n 192.168.1.104 hostname +EOF + +simple_test $cmd |