1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb/tests/eventscripts/60.nfs.monitor.143.sh
Martin Schwenke 042a5101fc ctdb-tests: 60.nfs (and 06.nfs) event script setup modularisation
Includes gratuitous changes to get lines below 80 columns.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2018-03-28 02:57:19 +02:00

15 lines
264 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "statd down, 2 iterations, stuck process"
# statd fails and the first attempt to restart it succeeds.
setup
rpc_services_down "status"
nfs_setup_fake_threads "rpc.status" 1001
nfs_iterate_test 2 "status"