1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00
samba-mirror/ctdb/tests/eventscripts/60.nfs.monitor.109.sh
Martin Schwenke 323291a46e ctdb-tests: Add more NFS eventscript tests for call-out failures
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12837

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2017-06-13 09:12:19 +02:00

13 lines
216 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "callout is 'false', causes monitor-post to fail"
setup_nfs
export CTDB_NFS_CALLOUT="echo monitor-post ; false"
required_result 1 "monitor-post"
simple_test