diff options
author | Evan Benn <evanbenn@chromium.org> | 2022-08-23 12:43:47 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2022-08-26 04:46:47 +0000 |
commit | b41bb5622c08edb33cd83aa05973513db3869af0 (patch) | |
tree | d8ecfeb6157c65c98642fcdb54918d176787ba44 /util/flashrom_tester/src/tests.rs | |
parent | 1acef1689589dbb0afc1323739ba914b40b3fc41 (diff) | |
download | flashrom-b41bb5622c08edb33cd83aa05973513db3869af0.tar.gz flashrom-b41bb5622c08edb33cd83aa05973513db3869af0.tar.bz2 flashrom-b41bb5622c08edb33cd83aa05973513db3869af0.zip |
flashrom_tester: Add _into_file to function names
Rename Flashrom trait function names to reflect that the data is read
to/from a file provided as an argument.
BUG=None
BRANCH=None
TEST=cargo test; cargo check
Change-Id: I0015c9bf64349a5512dbdb0ef6f3dad38aa2fd8e
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66956
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'util/flashrom_tester/src/tests.rs')
-rw-r--r-- | util/flashrom_tester/src/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/flashrom_tester/src/tests.rs b/util/flashrom_tester/src/tests.rs index ed912e95..7d746b5d 100644 --- a/util/flashrom_tester/src/tests.rs +++ b/util/flashrom_tester/src/tests.rs @@ -243,7 +243,8 @@ fn elog_sanity_test(env: &mut TestEnv) -> TestResult { env.ensure_golden()?; const ELOG_RW_REGION_NAME: &str = "RW_ELOG"; - env.cmd.read_region(ELOG_FILE, ELOG_RW_REGION_NAME)?; + env.cmd + .read_region_into_file(ELOG_FILE, ELOG_RW_REGION_NAME)?; // Just checking for the magic numer // TODO: improve this test to read the events |