mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
b7a7c4113c
This tests that the importing of an environment with a specified whitelist works as intended. If there are variables passed as parameter to the env import command, those only should be imported in the current environment. For each variable passed as parameter, if - foo is bar in current env and bar2 in exported env, after importing exported env, foo shall be bar2, - foo does not exist in current env and foo is bar2 in exported env, after importing exported env, foo shall be bar2, - foo is bar in current env and does not exist in exported env (but is passed as parameter), after importing exported env, foo shall be empty ONLY if the -d option is passed to env import, otherwise foo shall be bar, Any variable not passed as parameter should be left untouched. Two other tests are made to test that size cannot be '-' if the checksum protection is enabled. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com> |
||
---|---|---|
.. | ||
vboot | ||
test_000_version.py | ||
test_avb.py | ||
test_dfu.py | ||
test_efi_loader.py | ||
test_efi_selftest.py | ||
test_env.py | ||
test_fit.py | ||
test_gpt.py | ||
test_help.py | ||
test_hush_if_test.py | ||
test_log.py | ||
test_md.py | ||
test_mmc_rd.py | ||
test_net.py | ||
test_ofplatdata.py | ||
test_sandbox_exit.py | ||
test_sf.py | ||
test_shell_basics.py | ||
test_sleep.py | ||
test_tpm2.py | ||
test_ums.py | ||
test_unknown_cmd.py | ||
test_ut.py | ||
test_vboot.py |