qa/workunits: adjust path to ceph-helpers.sh

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-07-26 08:08:01 -04:00
parent dfd5af27d3
commit 841f3bdf92
4 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
if [ -f $(dirname $0)/../ceph-helpers-root.sh ]; then
source $(dirname $0)/../ceph-helpers-root.sh
if [ -f $(dirname $0)/../../standalone/ceph-helpers-root.sh ]; then
source $(dirname $0)/../../standalone/ceph-helpers-root.sh
else
echo "$(dirname $0)/../ceph-helpers-root.sh does not exist."
echo "$(dirname $0)/../../standalone/ceph-helpers-root.sh does not exist."
exit 1
fi

View File

@ -1,6 +1,6 @@
#!/bin/bash -e
. $(dirname $0)/../ceph-helpers.sh
. $(dirname $0)/../../standalone/ceph-helpers.sh
function list_tests()
{

View File

@ -1,6 +1,6 @@
#!/bin/bash -ex
. $(dirname $0)/../ceph-helpers.sh
. $(dirname $0)/../../standalone/ceph-helpers.sh
POOL=rbd
IMAGE=testrbdnbd$$

View File

@ -4,7 +4,7 @@ TMPDIR=/tmp/rbd_test_admin_socket$$
mkdir $TMPDIR
trap "rm -fr $TMPDIR" 0
. $(dirname $0)/../ceph-helpers.sh
. $(dirname $0)/../../standalone/ceph-helpers.sh
function expect_false()
{