testprogs/blackbox: add test_trust_utils.sh
[Samba.git] / ctdb / tests / eventscripts / 60.nfs.monitor.153.sh
blobcf33e39bbc82f90c1b2c4b343aa5e30ed8ffaa9f
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "mountd down, 10 iterations, back up after 5"
7 setup_nfs
8 rpc_services_down "mountd"
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"