]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cram: include /usr/sbin in the PATH for all commands 18793/head
authorIlya Dryomov <idryomov@gmail.com>
Mon, 6 Nov 2017 19:00:50 +0000 (20:00 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 6 Nov 2017 19:05:38 +0000 (20:05 +0100)
/usr/sbin is not in non-login PATH on centos.  We already do this for
workunits, see commit 0e53f5f38b0c ("workunit: include /usr/sbin in the
PATH for all commands").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/tasks/cram.py

index 02c6667eb7f3ee81e3722310d131104ec4d3db2d..7184745782b1afb5fa91d94eb47982cd6879e7f3 100644 (file)
@@ -144,6 +144,7 @@ def _run_tests(ctx, role):
         args=[
             run.Raw('CEPH_REF={ref}'.format(ref=ceph_ref)),
             run.Raw('CEPH_ID="{id}"'.format(id=id_)),
+            run.Raw('PATH=$PATH:/usr/sbin'),
             'adjust-ulimits',
             'ceph-coverage',
             '{tdir}/archive/coverage'.format(tdir=testdir),