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

. "${TEST_SCRIPTS_DIR}/unit.sh"

cmd="$ONNODE 99 hostname"

define_test "$cmd" "invalid pnn 99"

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

simple_test $cmd