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 061656d383 ctdb-tests: Simplify test_wrap script
Given other improvements, this is now needlessly complex.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-08-14 09:11:35 +00:00

12 lines
248 B
Bash
Executable File

#!/bin/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"
"$@"