summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2012-07-13 09:42:20 -0700
committerSage Weil <sage@inktank.com>2012-07-13 13:35:23 -0700
commitb3d077c61e977e8ebb91288aa2294fb21c197fe7 (patch)
tree35d9290c3697001958e95effa12935f4bc8c0a25 /qa
parente855cb247b5a9eda6845637e2da5b6358f69c2ed (diff)
downloadceph-b3d077c61e977e8ebb91288aa2294fb21c197fe7.tar.gz
qa: download tests from specified branch
These python tests aren't installed, so they need to be downloaded Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'qa')
-rwxr-xr-xqa/workunits/rados/test_python.sh3
-rwxr-xr-xqa/workunits/rbd/test_librbd_python.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/qa/workunits/rados/test_python.sh b/qa/workunits/rados/test_python.sh
index acc9420d9b1..7678cba863b 100755
--- a/qa/workunits/rados/test_python.sh
+++ b/qa/workunits/rados/test_python.sh
@@ -1,5 +1,6 @@
#!/bin/sh -ex
-wget -q https://raw.github.com/ceph/ceph/master/src/test/pybind/test_rados.py
+CEPH_REF=${CEPH_REF:-master}
+wget -q https://raw.github.com/ceph/ceph/$CEPH_REF/src/test/pybind/test_rados.py
nosetests -v test_rados
exit 0
diff --git a/qa/workunits/rbd/test_librbd_python.sh b/qa/workunits/rbd/test_librbd_python.sh
index 053feb4297e..f3b2a47e4de 100755
--- a/qa/workunits/rbd/test_librbd_python.sh
+++ b/qa/workunits/rbd/test_librbd_python.sh
@@ -1,5 +1,6 @@
#!/bin/sh -ex
-wget -q https://raw.github.com/ceph/ceph/master/src/test/pybind/test_rbd.py
+CEPH_REF=${CEPH_REF:-master}
+wget -q https://raw.github.com/ceph/ceph/$CEPH_REF/src/test/pybind/test_rbd.py
nosetests -v -e '.*test_remove_with_watcher' test_rbd
exit 0