mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
30b762bc13
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
15 lines
533 B
Bash
Executable File
15 lines
533 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
CEPH_REF=${CEPH_REF:-master}
|
|
#wget -q https://raw.github.com/ceph/ceph/$CEPH_REF/src/test/pybind/test_rbd.py
|
|
wget -O test_rbd.py "https://ceph.com/git/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=src/test/pybind/test_rbd.py" || \
|
|
wget -O test_rbd.py "https://ceph.com/git/?p=ceph.git;a=blob_plain;hb=ref/heads/$CEPH_REF;f=src/test/pybind/test_rbd.py"
|
|
|
|
if [ -n "${VALGRIND}" ]; then
|
|
valgrind --tool=${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
|
|
nosetests -v test_rbd
|
|
else
|
|
nosetests -v test_rbd
|
|
fi
|
|
exit 0
|