1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/ctdb/tests/scripts/test_wrap
Martin Schwenke 9a7cabd342 ctdb-tests: Use "#!/usr/bin/env bash" for improved portability
Signed-off-by: Martin Schwenke <martin@meltin.net>
2020-07-22 02:42:37 +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"
"$@"