diff options
author | Martin Schwenke <martin@meltin.net> | 2011-06-07 16:05:48 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2011-08-03 15:51:44 +1000 |
commit | 3ee6a63e47fb07d34221c8e2c6df71ee4709e657 (patch) | |
tree | a27c168b1c1d5dc6f28d5956cd6a3dcc0e8500d4 /ctdb/tests/onnode/0002.sh | |
parent | 51ef4b4e5548ad952f3476f2743016470680ae6e (diff) | |
download | samba-3ee6a63e47fb07d34221c8e2c6df71ee4709e657.tar.gz samba-3ee6a63e47fb07d34221c8e2c6df71ee4709e657.tar.xz samba-3ee6a63e47fb07d34221c8e2c6df71ee4709e657.zip |
Tests: onnode tests changed to use a simple define_test() function.
This makes global changes easier.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 3af086398fecb5f7c501190f9620b9c7b201f0ca)
Diffstat (limited to 'ctdb/tests/onnode/0002.sh')
-rwxr-xr-x | ctdb/tests/onnode/0002.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/onnode/0002.sh b/ctdb/tests/onnode/0002.sh index e8e082daecc..b18d91efa2c 100755 --- a/ctdb/tests/onnode/0002.sh +++ b/ctdb/tests/onnode/0002.sh @@ -4,7 +4,7 @@ cmd="$ONNODE -q all hostname" -echo "$cmd - all nodes OK" +define_test "$cmd" "all nodes OK" required_result <<EOF -n 192.168.1.101 hostname |