summaryrefslogtreecommitdiff
path: root/ctdb/tests/eventscripts/60.nfs.monitor.152.sh
blob: c3a6b8bbf305c004ece025a9ec9e09a987ffaf62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "mountd down, 7 iterations"

# This simulates an ongoing failure in the eventscript's automated
# attempts to restart the service.  That is, the eventscript is unable
# to restart the service.

setup

rpc_services_down "mountd"

nfs_iterate_test 7 "mountd"