summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2018-12-13 17:31:51 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-13 19:28:03 -0800
commitf1810e1145a050150ddabe024b826e91aacc8277 (patch)
tree7d1f0f73e8abe5c04251832a4f7dddee62a4c802
parentf07ea5490bab8a2972e3b6d77ac67ca7cbf5cad0 (diff)
downloadvboot-f1810e1145a050150ddabe024b826e91aacc8277.tar.gz
futility: update: Fix 'smm_store' unit test
In CL:1351178 the SMM store file name has been changed to 'smm_store' so we have to also change test script. BUG=b:120060878 TEST=make futil; tests/futility/run_test_scripts.sh $(pwd)/build/futility Change-Id: Idc98517cc46a848bb77335214a11fbc9303590f2 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1375494 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Joel Kitching <kitching@chromium.org>
-rwxr-xr-xtests/futility/test_update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/futility/test_update.sh b/tests/futility/test_update.sh
index 54f2723d..c72a1057 100755
--- a/tests/futility/test_update.sh
+++ b/tests/futility/test_update.sh
@@ -411,9 +411,9 @@ if type cbfstool >/dev/null 2>&1; then
truncate -s 262144 "${TMP}.smm"
cp -f "${FROM_IMAGE}" "${TMP}.from.smm"
cp -f "${TMP}.expected.full" "${TMP}.expected.full_smm"
- cbfstool "${TMP}.from.smm" add -r RW_LEGACY -n "smm store" \
+ cbfstool "${TMP}.from.smm" add -r RW_LEGACY -n "smm_store" \
-f "${TMP}.smm" -t raw
- cbfstool "${TMP}.expected.full_smm" add -r RW_LEGACY -n "smm store" \
+ cbfstool "${TMP}.expected.full_smm" add -r RW_LEGACY -n "smm_store" \
-f "${TMP}.smm" -t raw -b 0x1bf000
test_update "Legacy update (--quirks eve_smm_store)" \
"${TMP}.from.smm" "${TMP}.expected.full_smm" \