smbd: Simplify strict_lock_default with early returns
[Samba.git] / ctdb / tests / eventscripts / 60.nfs.monitor.121.sh
blob6d27f60b27abaf4c040867e2db90a8baaf66613d
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "lockd down, 15 iterations"
7 # This simulates an ongoing failure in the eventscript's automated
8 # attempts to restart the service. That is, the eventscript is unable
9 # to restart the service.
11 setup_nfs
12 rpc_services_down "nlockmgr"
14 #EVENTSCRIPTS_TESTS_TRACE="sh -x"
15 iterate_test 15 "ok_null" \
16 10 "rpc_set_service_failure_response 'lockd'" \
17 15 "rpc_set_service_failure_response 'lockd'"