Skip to content

Commit 1243d7d

Browse files
committed
Update unit tests for fan speed auto-detection
Follows on to 716d9d877a08e0bce0b9a5cf7222ff3a4829e66. References #190.
1 parent 28bc0a1 commit 1243d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/minunit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ static const char *test_settings_reload()
231231
// cannot tests min_fan_speed since it is not set and thus auto-detected
232232
mu_assert("polling_interval is not 1 before SIGHUP", polling_interval == 1);
233233
raise(SIGHUP);
234-
mu_assert("min_fan_speed value is not 6200 after SIGHUP", fan->fan_min_speed == 6200);
234+
// cannot tests min_fan_speed since it is not set and thus auto-detected
235235
mu_assert("polling_interval is not 2 after SIGHUP", polling_interval == 2);
236236
retrieve_settings("./mbpfan.conf", fan);
237237
free_fans(fan);

0 commit comments

Comments
 (0)