From 5a5597f6c5efb702d305a39e2828cf0c085997b8 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Fri, 13 Jul 2012 09:42:20 -0700 Subject: [PATCH] qa: download tests from specified branch These python tests aren't installed, so they need to be downloaded Signed-off-by: Josh Durgin --- qa/workunits/rados/test_python.sh | 3 ++- qa/workunits/rbd/test_librbd_python.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/qa/workunits/rados/test_python.sh b/qa/workunits/rados/test_python.sh index acc9420d9b1a6..7678cba863bb1 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 053feb4297e60..f3b2a47e4de07 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 -- 2.39.5