smbd: Simplify strict_lock_default with early returns
[Samba.git] / ctdb / tests / eventscripts / 60.nfs.monitor.113.sh
blob505df1b5275e49ddfa9c97e83e5047cb9c8d3923
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "knfsd down, 6 iterations, dump 5 threads, none hung"
7 # knfsd fails and attempts to restart it fail.
8 setup_nfs
9 rpc_services_down "nfs"
11 # Additionally, any hung threads should have stack traces dumped.
12 CTDB_NFS_DUMP_STUCK_THREADS=5
13 FAKE_NFSD_THREAD_PIDS=""
15 iterate_test 10 'rpc_set_service_failure_response "nfsd"'