]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Using python3 -m nose for "nosetests:command not found" error. On bionic "nosetests3...
authorharishmunjulur <harishmunjulur@gmail.com>
Mon, 10 Feb 2020 23:49:54 +0000 (15:49 -0800)
committerharishmunjulur <harishmunjulur@gmail.com>
Mon, 10 Feb 2020 23:49:54 +0000 (15:49 -0800)
Signed-off-by: harishmunjulur <harishmunjulur@gmail.com>
qa/workunits/rbd/test_librbd_python.sh

index 21dd2478f99c4a8a476703f279044835bc1e55c0..f7424f63f8c8e2d3a913f9cacb84e54918177ace 100755 (executable)
@@ -5,8 +5,8 @@ relpath=$(dirname $0)/../../../src/test/pybind
 if [ -n "${VALGRIND}" ]; then
   valgrind ${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
     --errors-for-leak-kinds=definite --error-exitcode=1 \
-    nosetests-3 -v $relpath/test_rbd.py
+    python3 -m nose -v $relpath/test_rbd.py
 else
-  nosetests-3 -v $relpath/test_rbd.py
+  python3 -m nose -v $relpath/test_rbd.py
 fi
 exit 0