Ubuntu is /usr/bin/nosetests3, el is /usr/bin/nosetests-3, so do neither.
Signed-off-by: Sage Weil <sage@redhat.com>
# Running as root because the filesystem root directory will be
# owned by uid 0, and that's where we're writing.
-sudo nosetests -v $(dirname $0)/../../../src/test/pybind/test_cephfs.py
+sudo python3 -m nose -v $(dirname $0)/../../../src/test/pybind/test_cephfs.py
exit 0
if [ -n "${VALGRIND}" ]; then
valgrind ${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
--errors-for-leak-kinds=definite --error-exitcode=1 \
- nosetests -v $relpath/test_rbd.py
+ python3 -m nose -v $relpath/test_rbd.py
else
- nosetests -v $relpath/test_rbd.py
+ python3 -m nose -v $relpath/test_rbd.py
fi
exit 0