Update unit tests for fan speed auto-detection
Follows on to 716d9d877a08e0bce0b9a5cf7222ff3a4829e66. References #190.
This commit is contained in:
parent
28bc0a1bea
commit
1243d7df6c
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ static const char *test_settings_reload()
|
|||
// cannot tests min_fan_speed since it is not set and thus auto-detected
|
||||
mu_assert("polling_interval is not 1 before SIGHUP", polling_interval == 1);
|
||||
raise(SIGHUP);
|
||||
mu_assert("min_fan_speed value is not 6200 after SIGHUP", fan->fan_min_speed == 6200);
|
||||
// cannot tests min_fan_speed since it is not set and thus auto-detected
|
||||
mu_assert("polling_interval is not 2 after SIGHUP", polling_interval == 2);
|
||||
retrieve_settings("./mbpfan.conf", fan);
|
||||
free_fans(fan);
|
||||
|
|
Loading…
Reference in a new issue