summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Artemiev <nartemiev@google.com>2022-02-01 11:57:00 +1100
committerCommit Bot <commit-bot@chromium.org>2022-02-01 13:35:48 +0000
commit7031fbe11721cb7e3b68d608fd83dfa3e9563261 (patch)
tree92df47967832eb4696ddd946518a3a54dea7f8d9
parent8d2ec2700398f7d3363ebd194e697ae7358b5028 (diff)
downloadvboot-stabilize-14498.B.tar.gz
Command does not need to run under sudo and sudo will not be available once we start running the test scripts under platform2_test.py. BUG=b:207787495 BRANCH=none TEST=`cros_run_unit_tests --board grunt --packages vboot_reference` Signed-off-by: Nikolai Artemiev <nartemiev@google.com> Change-Id: I795519c4b45e410f5ddc3c55dceab1ae1de02dbc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3428421 Reviewed-by: Edward O'Callaghan <quasisec@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 31f3ecbf..d2ab0288 100755
--- a/tests/futility/test_update.sh
+++ b/tests/futility/test_update.sh
@@ -471,8 +471,8 @@ test_update "Full update (-a, model=WL, no VPD, default keys)" \
if type flashrom >/dev/null 2>&1; then
echo "TEST: Full update (dummy programmer)"
cp -f "${FROM_IMAGE}" "${TMP}.emu"
- sudo "${FUTILITY}" update --programmer \
- dummy:emulate=VARIABLE_SIZE,image=${TMP}.emu,size=8388608 \
+ "${FUTILITY}" update --programmer \
+ dummy:emulate=VARIABLE_SIZE,image="${TMP}".emu,size=8388608 \
-i "${TO_IMAGE}" --wp=0 --sys_props 0,0x10001,1,3 >&2
cmp "${TMP}.emu" "${TMP}.expected.full"
fi