mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
aed1872a1c
Borrowed this from rados/test_python. It's for invoking the test that lives in src/test/pybind/test_cephfs.py Signed-off-by: John Spray <john.spray@redhat.com>
11 lines
449 B
Bash
Executable File
11 lines
449 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
CEPH_REF=${CEPH_REF:-master}
|
|
wget -O test_cephfs.py "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=src/test/pybind/test_cephfs.py" || \
|
|
wget -O test_cephfs.py "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=ref/heads/$CEPH_REF;f=src/test/pybind/test_cephfs.py"
|
|
|
|
# Running as root because the filesystem root directory will be
|
|
# owned by uid 0, and that's where we're writing.
|
|
sudo nosetests -v test_cephfs
|
|
exit 0
|