subprocess.call para stdout=PIPE is risky 11/26111/4
authorRyan.RCS <lihainong@huawei.com>
Tue, 20 Dec 2016 08:36:24 +0000 (08:36 +0000)
committerRyan.RCS <lihainong@huawei.com>
Wed, 21 Dec 2016 02:03:48 +0000 (02:03 +0000)
commitaad4b7d74f7bfd272fd7ab601a61e7f2c4d0e64c
tree44f917519246b1776576fb5d1af36e2667561649
parent367691281be05a5f2c76455465ff14078415e6c2
subprocess.call para stdout=PIPE is risky

1.In 'def run' function of parser.py file,
  subprocess.call parameter stdout=
  subprocess.PIPE is risky, so I changed
  the function from 'call' to 'popen'
2.updated sample/tosca.ymal because the version of
  that file is old.

JIRA: YARDSTICK-473

Change-Id: Ie242e77eed6fdc2849394a3f170e40a0dd2be632
Signed-off-by: Ryan.RCS <lihainong@huawei.com>
samples/tosca.yaml
yardstick/benchmark/scenarios/parser/parser.py