From dc22856431354bb3ce8f870dfc2ab0e411e3fa47 Mon Sep 17 00:00:00 2001 From: Sebastian Goscik Date: Mon, 1 Feb 2016 11:13:57 +0000 Subject: [PATCH] sysbench: Fixed binary installation --- wlauto/workloads/sysbench/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wlauto/workloads/sysbench/__init__.py b/wlauto/workloads/sysbench/__init__.py index 2787911a..fdd0dc5d 100644 --- a/wlauto/workloads/sysbench/__init__.py +++ b/wlauto/workloads/sysbench/__init__.py @@ -136,9 +136,9 @@ class Sysbench(Workload): if not self.on_device_binary and not self.on_host_binary: raise WorkloadError('sysbench binary is not installed on the device, and it is not found on the host.') if self.force_install: - self.device.install(self.on_host_binary) + self.on_device_binary = self.device.install(self.on_host_binary) else: - self.device.install_if_needed(self.on_host_binary) + self.on_device_binary = self.device.install_if_needed(self.on_host_binary) def _build_command(self, **parameters): param_strings = ['--{}={}'.format(k.replace('_', '-'), v)