1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/ctdb/tests/UNIT/onnode/0010.sh
Martin Schwenke a3cbb7eb21 ctdb-tests: Move onnode tests to UNIT/ subdirectory
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-09-26 04:45:36 +00:00

14 lines
184 B
Bash
Executable File

#!/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