JIRA: BOTTLENECK-226
See above
Change-Id: Iba5d21348355a80d6c17deb1a12114d1d07e5c15
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
(cherry picked from commit 
9400c02df69737daf14644d1113ac9c1173fa70a)
 }
 testfile = os.path.basename(__file__)
 testcase, file_format = os.path.splitext(testfile)
-cidr = "/home/opnfv/repos/yardstick/samples/storage_bottlenecks.yaml"
+cidr = "/home/opnfv/repos/yardstick/samples/ping_bottlenecks.yaml"
 runner_DEBUG = True
 
 q = Queue.Queue()
 
                          shell=True)
     output = p.communicate()[0]
     output_lines = output.splitlines()
-    env = dict((line.split('=', 1) for line in output_lines))
+    env = list()
+    for line in output_lines:
+        if '=' in line:
+            env.append(tuple(line.split('=', 1)))
+
+    env = dict(env)
+#    env = dict((line.split('=', 1) for line in output_lines))
     os.environ.update(env)
     return env