mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
4cbb0b13ba
The current code requires the use of eval in the NFS callout handling to facilitate testing. Improve the code to remove this need. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
13 lines
169 B
Bash
Executable File
13 lines
169 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "callout causes shutdown to fail"
|
|
|
|
setup
|
|
|
|
setup_nfs_callout "shutdown"
|
|
|
|
required_result 1 "shutdown"
|
|
simple_test
|