From: Sage Weil Date: Tue, 24 Sep 2013 23:50:07 +0000 (-0700) Subject: rbd: move xfstest TESTDIR=... bit to front of command X-Git-Tag: 1.1.0~1854 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2870ec5086822d55bb4402b2f2721485499befec;p=teuthology.git rbd: move xfstest TESTDIR=... bit to front of command 2013-09-24T11:32:49.169 DEBUG:teuthology.orchestra.run:Running [10.214.132.4]: "/usr/bin/sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage TESTDIR=/home/ubuntu/cephtest /bin/bash /home/ubuntu/cephtest/run_xfstests.sh -c 1 -f xfs -t /dev/rbd1 -s /dev/rbd2 '1-9 11-15 17 19-21 26-29 31-34 41 46- 54 56 61 63-67 69-70 74-76 78-79 84-89 91'" 2013-09-24T11:32:49.211 INFO:teuthology.task.rbd.client.1.err:[10.214.131.22]: /usr/bin/ceph-coverage: 25: exec: TESTDIR=/home/ubuntu/cephtest: not found Signed-off-by: Sage Weil --- diff --git a/teuthology/task/rbd.py b/teuthology/task/rbd.py index 6f3cbd84b..6164a229a 100644 --- a/teuthology/task/rbd.py +++ b/teuthology/task/rbd.py @@ -419,10 +419,10 @@ def run_xfstests_one_client(ctx, role, properties): # pathname (so it matches what the kernel remembers). args = [ '/usr/bin/sudo', + 'TESTDIR={tdir}'.format(tdir=testdir), 'adjust-ulimits', 'ceph-coverage', '{tdir}/archive/coverage'.format(tdir=testdir), - 'TESTDIR={tdir}'.format(tdir=testdir), '/bin/bash', test_path, '-c', str(count),