Skip to content

Commit

Permalink
Update unit tests for fan speed auto-detection
Browse files Browse the repository at this point in the history
Follows on to 716d9d877a08e0bce0b9a5cf7222ff3a4829e66.
References #190.
  • Loading branch information
gaul committed Oct 31, 2019
1 parent 28bc0a1 commit 1243d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/minunit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1243d7d

Please sign in to comment.