git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctdb-tests: Use setup_script_options() in 60.nfs (and 06.nfs) tests
[samba.git]
/
ctdb
/
tests
/
eventscripts
/
60.nfs.shutdown.002.sh
diff --git
a/ctdb/tests/eventscripts/60.nfs.shutdown.002.sh
b/ctdb/tests/eventscripts/60.nfs.shutdown.002.sh
index 9ddf9d878251f514270ebe2bf49e5bd9fdecb1f4..11312d6d1ab4607769c14909144e02778b46953e 100755
(executable)
--- a/
ctdb/tests/eventscripts/60.nfs.shutdown.002.sh
+++ b/
ctdb/tests/eventscripts/60.nfs.shutdown.002.sh
@@
-6,7
+6,9
@@
define_test "callout is 'false', causes shutdown to fail"
setup
+setup_script_options <<EOF
CTDB_NFS_CALLOUT="echo shutdown ; false"
+EOF
required_result 1 "shutdown"
simple_test