From 641b22f8dd37604fc3a4d117a016dc01e135f4ba Mon Sep 17 00:00:00 2001 From: Changyuan Lyu Date: Sun, 15 Mar 2026 00:13:10 -0700 Subject: [PATCH] test(timer): fix timer read test Signed-off-by: Changyuan Lyu --- alioth/src/firmware/acpi/reg_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alioth/src/firmware/acpi/reg_test.rs b/alioth/src/firmware/acpi/reg_test.rs index 3fbac961..8b695ab5 100644 --- a/alioth/src/firmware/acpi/reg_test.rs +++ b/alioth/src/firmware/acpi/reg_test.rs @@ -20,5 +20,5 @@ fn test_pm_timer() { let timer = AcpiPmTimer::default(); let v1 = timer.read(0, 4).unwrap(); let v2 = timer.read(0, 4).unwrap(); - assert!(v2 > v1); + assert!(v2 >= v1); }