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

. "${TEST_SCRIPTS_DIR}/unit.sh"

cmd="$ONNODE 4 hostname"

define_test "$cmd" "invalid pnn 4"

required_result 1 <<EOF
onnode: "node 4" does not exist
EOF

simple_test $cmd