summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot/test_snapshot_restore.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/snapshot/test_snapshot_restore.py')
-rw-r--r--tests/functional/snapshot/test_snapshot_restore.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/functional/snapshot/test_snapshot_restore.py b/tests/functional/snapshot/test_snapshot_restore.py
index b442879f3..326ebc078 100644
--- a/tests/functional/snapshot/test_snapshot_restore.py
+++ b/tests/functional/snapshot/test_snapshot_restore.py
@@ -68,11 +68,9 @@ class SnapRestore(GlusterBaseClass):
# Upload io scripts for running IO on mounts
g.log.info("Upload io scripts to clients %s for running IO on "
"mounts", cls.clients)
- script_local_path = ("/usr/share/glustolibs/io/scripts/"
- "file_dir_ops.py")
cls.script_upload_path = ("/usr/share/glustolibs/io/scripts/"
"file_dir_ops.py")
- ret = upload_scripts(cls.clients, script_local_path)
+ ret = upload_scripts(cls.clients, cls.script_upload_path)
if not ret:
raise ExecutionError("Failed to upload IO scripts to clients %s" %
cls.clients)