summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/vb2_kernel_tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/vb2_kernel_tests.c b/tests/vb2_kernel_tests.c
index 67b6b486..4b0a2494 100644
--- a/tests/vb2_kernel_tests.c
+++ b/tests/vb2_kernel_tests.c
@@ -223,9 +223,9 @@ static void phase1_tests(void)
" phone recovery enabled");
TEST_EQ(vb2api_phone_recovery_ui_enabled(ctx), 0,
" phone recovery ui disabled");
- /* Make sure diagnostic UI is disabled */
- TEST_EQ(vb2api_diagnostic_ui_enabled(ctx), 0,
- " diagnostic ui disabled");
+ /* Make sure diagnostic UI is enabled */
+ TEST_EQ(vb2api_diagnostic_ui_enabled(ctx), 1,
+ " diagnostic ui enabled");
/*
* Test flags are unchanged for experimental features in recovery path