]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: download tests from specified branch
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 13 Jul 2012 16:42:20 +0000 (09:42 -0700)
committerSage Weil <sage@inktank.com>
Fri, 13 Jul 2012 20:35:23 +0000 (13:35 -0700)
These python tests aren't installed, so they need to be downloaded

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
qa/workunits/rados/test_python.sh
qa/workunits/rbd/test_librbd_python.sh

index acc9420d9b1a678c75b6686db2af5dc04fc9cb1b..7678cba863bb1df5be417518e57b7cfde46c8c08 100755 (executable)
@@ -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
index 053feb4297e604830aca1010d6711221ba1c2bf1..f3b2a47e4de070a4ba784ef8e22e086fd3c497e4 100755 (executable)
@@ -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