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/06.nfs.releaseip.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
219 B
Bash
Executable File

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