diff options
author | Evan Benn <evanbenn@chromium.org> | 2023-01-16 14:49:11 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2023-02-06 00:33:03 +0000 |
commit | 69bbe7986c17111015034871da63f2ceea6ad45b (patch) | |
tree | 3514083c26839dc5bad8c6b318875e30073798b4 /util/flashrom_tester/src/tests.rs | |
parent | 195948a4675edd8674986b19f2036320eb8ba1c8 (diff) | |
download | flashrom-69bbe7986c17111015034871da63f2ceea6ad45b.tar.gz flashrom-69bbe7986c17111015034871da63f2ceea6ad45b.tar.bz2 flashrom-69bbe7986c17111015034871da63f2ceea6ad45b.zip |
flashrom_tester: Rename lock_test hwwp_locks_swwp_test
Rename lock_test to hwwp_locks_swwp_test.
BUG=b:235916336
BRANCH=None
TEST=None
Change-Id: I6080622755ff16d8fba7044b38f9e09db0c62f97
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/71972
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flashrom_tester/src/tests.rs b/util/flashrom_tester/src/tests.rs index 8369a943..13ba0501 100644 --- a/util/flashrom_tester/src/tests.rs +++ b/util/flashrom_tester/src/tests.rs @@ -100,7 +100,7 @@ pub fn generic<'a, TN: Iterator<Item = &'a str>>( &("WP_Region_List", wp_region_list_test), &("Erase_and_Write", erase_write_test), &("Fail_to_verify", verify_fail_test), - &("Lock", lock_test), + &("HWWP_Locks_SWWP", hwwp_locks_swwp_test), &("Lock_top_quad", partial_lock_test(LayoutNames::TopQuad)), &( "Lock_bottom_quad", @@ -196,7 +196,7 @@ fn erase_write_test(env: &mut TestEnv) -> TestResult { } /// Verify that enabling hardware write protect prevents disabling software write protect. -fn lock_test(env: &mut TestEnv) -> TestResult { +fn hwwp_locks_swwp_test(env: &mut TestEnv) -> TestResult { if !env.wp.can_control_hw_wp() { return Err("Lock test requires ability to control hardware write protect".into()); } |