commit | 604c8e7936b155f99e3c7d266df3c05a1dc45b9f | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Aug 07 23:11:35 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat Aug 08 08:31:39 2020 -0400 |
tree | 39c95a609d9464b42005f48312707a7671fa06b4 | |
parent | b9cba9f41567991d21d71d7b02202600e79bd4af [diff] |
test/py: serial# cannot be overwritten on some devices On some devices the environment variable serial# cannot be overwritten. Set the variable only if it is not set. For our unit test it is sufficient to test if any value for serial-number is set. Fixes: 8a5cdf601f8d ("test: efi_selftest: Do not force serial# setting") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>