summaryrefslogtreecommitdiffstats
path: root/build-gluster-org
diff options
context:
space:
mode:
authordkhandel <dkhandel@localhost.localdomain>2018-06-05 00:24:41 +0530
committerdkhandel <dkhandel@localhost.localdomain>2018-06-05 00:24:41 +0530
commitfd28394f45fbcd222e5c2fc6d145ada2217d61bc (patch)
tree71615ea827733cfba43b449c255216af2257417f /build-gluster-org
parent70504bd0eafc2d35786e509f13561e2e002b073e (diff)
Add shell=True in subprocess.call function
Change-Id: Ia1f7e5f89dd60fe5962eda7c16648d39155de973
Diffstat (limited to 'build-gluster-org')
-rw-r--r--build-gluster-org/scripts/distributed-regression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/distributed-regression.py b/build-gluster-org/scripts/distributed-regression.py
index 56e724b..a2c1046 100644
--- a/build-gluster-org/scripts/distributed-regression.py
+++ b/build-gluster-org/scripts/distributed-regression.py
@@ -19,7 +19,7 @@ def get_ansible_host_ip():
def main():
ip = get_ansible_host_ip()
- subprocess.call("./extras/distributed-testing/distributed-test.sh --hosts {0} --id_rsa 'key'".format(ip))
+ subprocess.call("./extras/distributed-testing/distributed-test.sh --hosts {0} --id-rsa 'key'".format(ip), shell=True)
main()