mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
02dd1bf00f
Includes minor test infrastructure updates. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit ce2ef2be8aa22c0baf868daac8d4cf27246baa14)
16 lines
299 B
Bash
Executable File
16 lines
299 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "all services available, check nfsd thread count, not enough threads"
|
|
|
|
setup_nfs
|
|
|
|
CTDB_MONITOR_NFS_THREAD_COUNT="yes"
|
|
RPCNFSDCOUNT=8
|
|
FAKE_NFSD_THREAD_PIDS="1 2 3 4 5"
|
|
|
|
ok "Attempting to correct number of nfsd threads from 5 to 8"
|
|
|
|
simple_test
|