diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-08-07 23:11:35 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-08 08:31:39 -0400 |
commit | 38ee01e4ddf7cca53fcf6585dd00373246b4df40 (patch) | |
tree | 39c95a609d9464b42005f48312707a7671fa06b4 /cmd/date.c | |
parent | 626b2df302fce4bf91a240f186ba447046db4741 (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>
Diffstat (limited to 'cmd/date.c')
0 files changed, 0 insertions, 0 deletions