blob: 95f4dc6fb62af2562d3f8093d4e7a6b73ba58cbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
. "${EVENTSCRIPTS_TESTS_DIR}/common.sh"
define_test "get RPC service fail limits/actions"
setup_nfs
set -e
rm -f "$rpc_fail_limits_file"
CTDB_RC_LOCAL="$CTDB_BASE/rc.local.nfs.monitor.get-limits" \
"${CTDB_BASE}/events.d/60.nfs" "monitor" >"$rpc_fail_limits_file"
services="knfsd|mountd|rquotad|lockd|statd"
echo "Doing rough check of file format..."
! grep -v -E "^(${services}) " "$rpc_fail_limits_file"
|