Add missing 'export' command to snapshot command

Right now 9.x vars generator produces not env vars so
user have to export vars after setting it up. Lets automate it

Change-Id: I83e4a950d559203bd502f646b228cc6a48a4ece3
This commit is contained in:
Vladimir Khlyunev 2016-11-03 15:09:37 +03:00
parent 11155b17cc
commit 784512c8d6
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ def write_test_vars(filename, test_variables):
with open(filename, 'wt') as f:
f.write(
'\n'.join(
["{0}='{1}'".format(k.upper(), v)
["export {0}='{1}'".format(k.upper(), v)
for k, v in test_variables.items()]
)
)