ctdb-scripts: add new 48.netbios script for starting nmbd
[vlendec/samba-autobuild/.git] / ctdb / tests / UNIT / eventscripts / 60.nfs.monitor.153.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "mountd down, 7 iterations, back up after 2"
6
7 setup
8
9 rpc_services_down "mountd"
10
11 # Iteration 2 should try to restart rpc.mountd.  However, our test
12 # stub rpc.mountd does nothing, so we have to explicitly flag it as
13 # up.
14 nfs_iterate_test 7 "mountd" \
15     3 "rpc_services_up mountd"