run-test-prepare: fix device environment overrides 17/10117/1
authorKevin Hilman <khilman@baylibre.com>
Fri, 7 Jul 2017 18:48:43 +0000 (18:48 +0000)
committerKevin Hilman <khilman@baylibre.com>
Fri, 7 Jul 2017 18:48:47 +0000 (18:48 +0000)
commit33386624e01e460de7c69ca91e05a8c237f653d4
treeedfae2f2333018a735d9009623a62454e978b357
parent85f3007ed0c7e4c926d083a1c34cda519b935507
run-test-prepare: fix device environment overrides

Machines can override the default environment settings in their
hwtest.short.environment files.  However, the grep/sed procesing done
does not ignore lines that are commented out, causing an extra '#' to
be part of the variable name.

To fix, ensure the grep for the variable name matches the beginning of
the line, so commented lines will be ignored.

Change-Id: Ibf4281c3126c95670346bee74043d670e6d58654
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
jjb/common/include-agl-run-test-prepare.sh