diff options
author | Nikolai Artemiev <nartemiev@google.com> | 2022-02-01 11:57:00 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-01 13:35:48 +0000 |
commit | 7031fbe11721cb7e3b68d608fd83dfa3e9563261 (patch) | |
tree | 92df47967832eb4696ddd946518a3a54dea7f8d9 /tests | |
parent | 8d2ec2700398f7d3363ebd194e697ae7358b5028 (diff) | |
download | vboot-7031fbe11721cb7e3b68d608fd83dfa3e9563261.tar.gz |
futility: drop sudo from test scriptstabilize-14498.Bstabilize-14496.Bfirmware-brya-14505.71.B
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>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/futility/test_update.sh | 4 |
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 |