aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/compute/qemu_migrate.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/benchmark/scenarios/compute/qemu_migrate.py')
-rw-r--r--yardstick/benchmark/scenarios/compute/qemu_migrate.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/yardstick/benchmark/scenarios/compute/qemu_migrate.py b/yardstick/benchmark/scenarios/compute/qemu_migrate.py
index 6cfedc17a..2de1270ef 100644
--- a/yardstick/benchmark/scenarios/compute/qemu_migrate.py
+++ b/yardstick/benchmark/scenarios/compute/qemu_migrate.py
@@ -26,7 +26,7 @@ class QemuMigrate(base.Scenario):
__scenario_type__ = "QemuMigrate"
TARGET_SCRIPT = "qemu_migrate_benchmark.bash"
- WORKSPACE = "/root/workspace"
+ WORKSPACE = "/root/workspace/"
REBOOT_CMD_PATTERN = r";\s*reboot\b"
def __init__(self, scenario_cfg, context_cfg):
@@ -89,7 +89,8 @@ class QemuMigrate(base.Scenario):
self.target_script = pkg_resources.resource_filename(
"yardstick.benchmark.scenarios.compute",
QemuMigrate.TARGET_SCRIPT)
- self.host.put_file(self.target_script, "~/qemu_migrate_benchmark.sh")
+ self.host._put_file_shell(
+ self.target_script, "~/qemu_migrate_benchmark.sh")
self.setup_done = True