]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: include extension for nose tests
authorSage Weil <sage@redhat.com>
Mon, 19 Dec 2016 19:08:11 +0000 (14:08 -0500)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Dec 2016 13:36:03 +0000 (14:36 +0100)
When you have a relative path you have to include the extension.
Weird.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 5666fd61d6dbd40be1d79354227cabd562e829ea)

Conflicts:
qa/workunits/fs/test_python.sh (not in hammer)
qa/workunits/rbd/test_librbd_python.sh (no valgrind in hammer)

qa/workunits/rados/test_python.sh
qa/workunits/rbd/test_librbd_python.sh

index 60832df026cbb378b29509b56e8f0eea17b7c5e9..80369c8d15acc5cc0e191308c2bca8f582330e9e 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh -ex
 
-${PYTHON:-python} -m nose -v $(dirname $0)/../../../src/test/pybind/test_rados
+${PYTHON:-python} -m nose -v $(dirname $0)/../../../src/test/pybind/test_rados.py
 exit 0
index 72c975e4e64686c44d74856a1aa30855e1f78366..118edf913d4478ae209f514ac90d96f6af7f5c7c 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh -ex
 
 relpath=$(dirname $0)/../../../src/test/pybind
-nosetests -v $relpath/test_rbd
+nosetests -v $relpath/test_rbd.py
 exit 0