mirror of
https://github.com/ceph/ceph
synced 2024-12-22 03:22:00 +00:00
workunit: include /usr/sbin in the PATH for all commands
Fixes: #10600 Backport: hammer, giant, firefly, dumpling Signed-off-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
parent
9c67bded62
commit
0e53f5f38b
@ -336,6 +336,7 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None, timeout=None):
|
||||
run.Raw('CEPH_REF={ref}'.format(ref=refspec)),
|
||||
run.Raw('TESTDIR="{tdir}"'.format(tdir=testdir)),
|
||||
run.Raw('CEPH_ID="{id}"'.format(id=id_)),
|
||||
run.Raw('PATH=$PATH:/usr/sbin')
|
||||
]
|
||||
if env is not None:
|
||||
for var, val in env.iteritems():
|
||||
|
Loading…
Reference in New Issue
Block a user