jjb: xci: xci-run-functest.sh: Ensure env vars are quoted during reload 61/55561/1
authorMarkos Chandras <mchandras@suse.de>
Thu, 12 Apr 2018 10:15:17 +0000 (11:15 +0100)
committerMarkos Chandras <mchandras@suse.de>
Thu, 12 Apr 2018 10:19:13 +0000 (11:19 +0100)
commit33073c5a3426c1867411db446bc9e5d84d2a7747
treeef72c24ba1b0a02afd4f71536e38eb9f1b213e3f
parentc5ba198398eae4098b07b68b3301d52f9afbebea
jjb: xci: xci-run-functest.sh: Ensure env vars are quoted during reload

The output of the 'env' command does not use quotes when printing the
env variables so trying to source the xci.env file will lead to problems like
the following one:

/home/devuser/releng-xci/.cache/xci.env: line 17: PROFILEREAD: readonly variable
/home/devuser/releng-xci/.cache/xci.env: line 20: 50340: command not found
/home/devuser/releng-xci/.cache/xci.env: line 40: controller00: command not found
/home/devuser/releng-xci/.cache/xci.env: line 48: on: command not found
/home/devuser/releng-xci/.cache/xci.env: line 55: Francisco/O=IT/CN=xci.releng.opnfv.org: No such file or directory
/home/devuser/releng-xci/.cache/xci.env: line 75: a: command not found
/home/devuser/releng-xci/.cache/xci.env: line 88: -I: command not found
/home/devuser/releng-xci/.cache/xci.env: line 90: 50340: command not found
/home/devuser/releng-xci/.cache/xci.env: line 92: -e: command not found
/home/devuser/releng-xci/.cache/xci.env: line 95: fg: no job control
/home/devuser/releng-xci/.cache/xci.env: line 101: fg: no job control

As such, we need to ensure that variables are properly quoted when
exported.

Change-Id: Ie98d8c921bae849d6bffd3858f67708f417b1d0f
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/xci/xci-run-functest.sh