From 2eca77fb02001bff3f1b5f96678bfbbf46f568b6 Mon Sep 17 00:00:00 2001 From: Sascha Bischoff Date: Thu, 24 Mar 2016 16:21:01 +0000 Subject: [PATCH] sysbench: use device busybox binary Use the full path to busybox on the target device as opposed to assuming it is found on the path. --- wlauto/workloads/sysbench/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wlauto/workloads/sysbench/__init__.py b/wlauto/workloads/sysbench/__init__.py index fdd0dc5d..020dd79e 100644 --- a/wlauto/workloads/sysbench/__init__.py +++ b/wlauto/workloads/sysbench/__init__.py @@ -147,7 +147,7 @@ class Sysbench(Workload): param_strings.append('--file-test-mode={}'.format(self.file_test_mode)) sysbench_command = '{} {} {} run'.format(self.on_device_binary, ' '.join(param_strings), self.cmd_params) if self.taskset_mask: - taskset_string = 'busybox taskset 0x{:x} '.format(self.taskset_mask) + taskset_string = '{} taskset 0x{:x} '.format(self.device.busybox, self.taskset_mask) else: taskset_string = '' return 'cd {} && {} {} > sysbench_result.txt'.format(self.device.working_directory, taskset_string, sysbench_command)