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

« back to all changes in this revision

Viewing changes to tests/eventscripts/multievent/60.nfs.001.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
. "${EVENTSCRIPTS_TESTS_DIR}/common.sh"
 
4
 
 
5
define_test "takeip, ipreallocated -> reconfigure"
 
6
 
 
7
setup_nfs
 
8
 
 
9
public_address=$(ctdb_get_1_public_address)
 
10
 
 
11
ok_null
 
12
 
 
13
simple_test_event "takeip" $public_address
 
14
 
 
15
ok <<EOF
 
16
Reconfiguring service "nfs"...
 
17
Starting nfslock: OK
 
18
Starting nfs: OK
 
19
EOF
 
20
 
 
21
simple_test_event "ipreallocated"