tests/complex: Fix NFS tests to work with root_squash
commit6882625cfea795b6d5a5aaeef4bdec51a25baa65
authorMartin Schwenke <martin@meltin.net>
Mon, 22 Jul 2013 04:32:13 +0000 (22 14:32 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 23 Jul 2013 01:28:07 +0000 (23 11:28 +1000)
tree76106eca3840bd84f1e290de8edd87d4aff4464c
parent1584f296b4d0a7292afa188998cbe1e3f4c75b75
tests/complex: Fix NFS tests to work with root_squash

Refactor the NFS test setup/cleanup code into new common functions.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 29e98017221326bdc9b1c4f7c05b3b495c1de29b)
ctdb/tests/complex/43_failover_nfs_basic.sh
ctdb/tests/complex/44_failover_nfs_oneway.sh
ctdb/tests/complex/45_failover_nfs_kill.sh
ctdb/tests/scripts/integration.bash