smbd: Simplify strict_lock_default with early returns
[Samba.git] / ctdb / tests / eventscripts / 60.nfs.monitor.104.sh
bloba052be813194d09f83f655a5f09e95bda9ea442a
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 # Add this extra test to catch a design change where we only ever
6 # increase the number of threads. That is, this test would need to be
7 # consciously removed.
8 define_test "all services available, check nfsd thread count, too many threads"
10 setup_nfs
12 CTDB_MONITOR_NFS_THREAD_COUNT="yes"
13 RPCNFSDCOUNT=4
14 FAKE_NFSD_THREAD_PIDS="1 2 3 4 5 6"
16 ok "Attempting to correct number of nfsd threads from 6 to 4"
18 simple_test