| Index: au_test_harness/vm_au_worker.py
|
| diff --git a/au_test_harness/vm_au_worker.py b/au_test_harness/vm_au_worker.py
|
| index 9788fddcb27e8cdf2132a4353060205c3d95bbd5..aba034c54ef5f3342eeff353f0f1ec0f7efbc2e7 100644
|
| --- a/au_test_harness/vm_au_worker.py
|
| +++ b/au_test_harness/vm_au_worker.py
|
| @@ -103,8 +103,9 @@ class VMAUWorker(au_worker.AUWorker):
|
| (_, _, log_directory_in_chroot) = log_directory.rpartition('chroot')
|
| # image_to_live already verifies lsb-release matching. This is just
|
| # for additional steps.
|
| - commandWithArgs = ['%s/cros_run_vm_test' % self.crosutilsbin,
|
| - '--image_path=%s' % self.vm_image_path,
|
| + commandWithArgs = ['cros_run_vm_test',
|
| + '--image_path=%s' % cros_lib.ReinterpretPathForChroot(
|
| + self.vm_image_path),
|
| '--snapshot',
|
| '--persist',
|
| '--kvm_pid=%s' % self._kvm_pid_file,
|
| @@ -114,7 +115,8 @@ class VMAUWorker(au_worker.AUWorker):
|
| ]
|
| if self.graphics_flag: commandWithArgs.append(self.graphics_flag)
|
| output = cros_lib.RunCommand(commandWithArgs, error_ok=True,
|
| - enter_chroot=False, redirect_stdout=True)
|
| + enter_chroot=True, redirect_stdout=True,
|
| + cwd=self.crosutils)
|
| return self.AssertEnoughTestsPassed(unittest, output,
|
| percent_required_to_pass)
|
|
|
|
|