mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-04 07:15:18 +02:00
flashrom_tester: Use path types for things that are paths
Use Path and PathBuf for things that are paths. BUG=b:243460685 BRANCH=None TEST=/usr/bin/flashrom_tester --flashrom_binary /usr/sbin/flashrom host TEST=/usr/bin/flashrom_tester --libflashrom host Change-Id: I69531bec5436a60430eae975eeab02c8835962bf Signed-off-by: Evan Benn <evanbenn@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/69064 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:

committed by
Edward O'Callaghan

parent
8170c89568
commit
c726a693d6
@ -224,7 +224,7 @@ fn elog_sanity_test(env: &mut TestEnv) -> TestResult {
|
||||
|
||||
const ELOG_RW_REGION_NAME: &str = "RW_ELOG";
|
||||
env.cmd
|
||||
.read_region_into_file(ELOG_FILE, ELOG_RW_REGION_NAME)?;
|
||||
.read_region_into_file(ELOG_FILE.as_ref(), ELOG_RW_REGION_NAME)?;
|
||||
|
||||
// Just checking for the magic numer
|
||||
// TODO: improve this test to read the events
|
||||
|
Reference in New Issue
Block a user