]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: specify source path 9631/head
authorMykola Golub <mgolub@mirantis.com>
Sat, 11 Jun 2016 17:01:31 +0000 (20:01 +0300)
committerJason Dillaman <dillaman@redhat.com>
Tue, 14 Jun 2016 11:45:23 +0000 (07:45 -0400)
otherwise it looks in $PATH for the script

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 698242e7435c9c4d1db7cb6d5aab3faf57eda840)

qa/workunits/rbd/rbd_mirror.sh
qa/workunits/rbd/rbd_mirror_stress.sh

index 2408cc8738237e69cae5656ceac228f9f5abcffa..8c2c5873ad22ca845b4047ce6f5e8d0d314d3801 100755 (executable)
@@ -9,7 +9,7 @@
 
 if [ -n "${CEPH_REF}" ]; then
   wget -O rbd_mirror_helpers.sh "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=qa/workunits/rbd/rbd_mirror_helpers.sh"
-  . rbd_mirror_helpers.sh
+  . ./rbd_mirror_helpers.sh
 else
   . $(dirname $0)/rbd_mirror_helpers.sh
 fi
index 1a234428da5ba9f1662c7f9151b822909712dace..a8561eed9d8d7990406f6dc7beb0e6a16c3a61f2 100755 (executable)
@@ -8,7 +8,7 @@ export LOCKDEP=0
 
 if [ -n "${CEPH_REF}" ]; then
   wget -O rbd_mirror_helpers.sh "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=qa/workunits/rbd/rbd_mirror_helpers.sh"
-  . rbd_mirror_helpers.sh
+  . ./rbd_mirror_helpers.sh
 else
   . $(dirname $0)/rbd_mirror_helpers.sh
 fi