diff options
author | Hung-Te Lin <hungte@chromium.org> | 2019-03-05 08:24:47 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-07 20:22:13 -0800 |
commit | 9c064133217de36332d184e92d20f467967e4e76 (patch) | |
tree | 1b2947dc7e0344e841cfde6e6d8640f528e6a78e /tests/futility/test_update.sh | |
parent | 5160e69144fa472461054700d5d172ee0963da2e (diff) | |
download | vboot-9c064133217de36332d184e92d20f467967e4e76.tar.gz |
futility: updater: Use model name as default whitelabel signaturestabilize-11895.95.Bstabilize-11895.89.Bstabilize-11895.72.Bstabilize-11895.118.Bstabilize-11895.109.Bstabilize-11895.108.Brelease-R74-11895.B
In Unibuild, the white label models may use (per model) PreMP key for
devices without VPD 'whitelabel_tag' - this helps dogfooders and lab
machines to run and update properly.
BUG=b:126800200
TEST=make futil; tests/futility/run_test_scripts.sh $(pwd)/build/futility
BRANCH=none
Change-Id: I7249e3fb1a2b7ab8ed281d2aa317aee6cde8f8db
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1501614
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Diffstat (limited to 'tests/futility/test_update.sh')
-rwxr-xr-x | tests/futility/test_update.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/futility/test_update.sh b/tests/futility/test_update.sh index eac9933a..6c2d2ee7 100755 --- a/tests/futility/test_update.sh +++ b/tests/futility/test_update.sh @@ -414,6 +414,19 @@ WL_TAG="wl" PATH="${A}/bin:${PATH}" \ "${FROM_IMAGE}.al" "${LINK_BIOS}" \ -a "${A}" --wp=0 --sys_props 0,0x10001,1,3 --model=whitetip +# WL-Unibuild without default keys +test_update "Full update (--a, model=WL, no VPD, no default keys)" \ + "${FROM_IMAGE}.al" "!Need VPD set for white" \ + -a "${A}" --wp=0 --sys_props 0,0x10001,1,3 --model=whitetip + +# WL-Unibuild with default keys as model name +cp -f "${TMP}.to/rootkey" "${A}/keyset/rootkey.whitetip" +cp -f "${TMP}.to/VBLOCK_A" "${A}/keyset/vblock_A.whitetip" +cp -f "${TMP}.to/VBLOCK_B" "${A}/keyset/vblock_B.whitetip" +test_update "Full update (-a, model=WL, no VPD, default keys)" \ + "${FROM_IMAGE}.al" "${LINK_BIOS}" \ + -a "${A}" --wp=0 --sys_props 0,0x10001,1,3 --model=whitetip + # Test special programmer if type flashrom >/dev/null 2>&1; then echo "TEST: Full update (dummy programmer)" |