Tests: re-enable the NFS eventscript tests - they work again.
[ctdb.git] / tests / eventscripts / simple / 60.nfs.monitor.153.sh
1 #!/bin/sh
2
3 . "${EVENTSCRIPTS_TESTS_DIR}/common.sh"
4
5 define_test "mountd down, 10 iterations, back up after 5"
6
7 setup_nfs
8 rpc_services_down "mountd"
9
10 # Iteration 5 should try to restart rpc.mountd.  However, our test
11 # stub rpc.mountd does nothing, so we have to explicitly flag it as
12 # up.
13 iterate_test 10 "ok_null" \
14     5 "rpc_set_service_failure_response 'mountd'" \
15     6 "rpc_services_up mountd"