1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/tests/eventscripts/60.nfs.shutdown.002.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
204 B
Bash
Executable File

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