testprogs/blackbox: add test_trust_utils.sh
[Samba.git] / ctdb / tests / eventscripts / 60.nfs.monitor.142.sh
blob4373d8d6426abc09180966c9a66a01c7ae11de3c
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "statd down, 8 iterations, back up after 2"
7 # statd fails and the first attempt to restart it succeeds.
9 setup_nfs
10 rpc_services_down "status"
12 iterate_test 8 'ok_null' \
13 2 'rpc_set_service_failure_response "statd"' \
14 3 'rpc_services_up "status"'