]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
workunit: include ceph bin dir in path
authorSage Weil <sage@newdream.net>
Wed, 29 Jun 2011 17:04:37 +0000 (10:04 -0700)
committerSage Weil <sage@newdream.net>
Wed, 29 Jun 2011 17:41:03 +0000 (10:41 -0700)
Some workunits need these binaries (e.g. kclient/file_layout.sh needs
cephfs).

Signed-off-by: Sage Weil <sage@newdream.net>
teuthology/task/workunit.py

index 4febaddaae81ad84bc0e72e39b851efafa080e17..883cd65563ae08b52d7548671577af003c684fff 100644 (file)
@@ -100,6 +100,7 @@ def task(ctx, config):
                         run.Raw('&&'),
                         'cd', '--', scratch_tmp,
                         run.Raw('&&'),
+                        run.Raw('PATH="$PATH:/tmp/cephtest/binary/usr/local/bin"'),
                         '{srcdir}/{workunit}'.format(
                             srcdir=srcdir,
                             workunit=workunit,