~ubuntu-branches/ubuntu/vivid/ctdb/vivid-proposed

« back to all changes in this revision

Viewing changes to tests/takeover/testcases/nondet.003.sh

  • Committer: Package Import Robot
  • Author(s): Mathieu Parent
  • Date: 2011-11-06 15:18:59 UTC
  • mto: (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: package-import@ubuntu.com-20111106151859-84nk51h3enndlo4q
Tags: upstream-1.11+git20111102
ImportĀ upstreamĀ versionĀ 1.11+git20111102

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
. "${TAKEOVER_TESTS_DIR}/common.sh"
 
4
 
 
5
define_test "3 nodes, 1 -> all healthy"
 
6
 
 
7
required_result <<EOF
 
8
192.168.21.254 0
 
9
192.168.21.253 2
 
10
192.168.21.252 0
 
11
192.168.20.254 2
 
12
192.168.20.253 0
 
13
192.168.20.252 2
 
14
192.168.20.251 1
 
15
192.168.20.250 1
 
16
192.168.20.249 1
 
17
EOF
 
18
 
 
19
simple_test 0,0,0 <<EOF
 
20
192.168.20.249 1
 
21
192.168.20.250 1
 
22
192.168.20.251 1
 
23
192.168.20.252 1
 
24
192.168.20.253 1
 
25
192.168.20.254 1
 
26
192.168.21.252 1
 
27
192.168.21.253 1
 
28
192.168.21.254 1
 
29
EOF