1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tests/scripts/test_wrap
Martin Schwenke d667352805 ctdb-tests: Use "#!/usr/bin/env bash" for improved portability
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2020-07-22 07:53:35 +00:00

12 lines
256 B
Bash
Executable File

#!/usr/bin/env bash
# Execute the given command. The intention is that it is either
# * a function from "${TEST_SCRIPTS_DIR}/integration.bash"; or
# * a test helper binary
TEST_SCRIPTS_DIR=$(dirname "$0")
. "${TEST_SCRIPTS_DIR}/integration.bash"
"$@"