summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-09-05 13:52:47 +1000
committerKarolin Seeger <kseeger@samba.org>2017-09-13 14:57:26 +0200
commit0ce69f53a8e22e27d42a3d1ea6660f0eabbad9e2 (patch)
tree6026fa4ae1134d88c88e2dd60ecff614a062a2db /ctdb
parentbae034aaa3b6049957e18b302bc27d9b8d0a4b26 (diff)
downloadsamba-0ce69f53a8e22e27d42a3d1ea6660f0eabbad9e2.tar.gz
ctdb-tests: Fix ctdb test binary name in path testing
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13012 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> (cherry picked from commit 96aef2371c6c1e0c6bd13874a71583eb9609959b)
Diffstat (limited to 'ctdb')
-rwxr-xr-xctdb/tests/scripts/test_wrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/scripts/test_wrap b/ctdb/tests/scripts/test_wrap
index 176310e9a15..3db3180ae98 100755
--- a/ctdb/tests/scripts/test_wrap
+++ b/ctdb/tests/scripts/test_wrap
@@ -10,7 +10,7 @@ TEST_SCRIPTS_DIR=$(dirname $0)
# We need the test binaries (i.e. tests/bin/) to be in $PATH. If they
# aren't already in $PATH then we know that tests/bin/ sits alongside
# tests/scripts/.
-f="ctdb_bench"
+f="fetch_ring"
if [ ! $(which $f >/dev/null 2>&1) ] ; then
d=$(dirname "$TEST_SCRIPTS_DIR")/bin
[ -x "$d/$f" ] && PATH="$d:$PATH"