diff --git a/mbpfan.conf.test1 b/mbpfan.conf.test1
index bea4137..5f098b7 100644
--- a/mbpfan.conf.test1
+++ b/mbpfan.conf.test1
@@ -1,6 +1,6 @@
[general]
-min_fan1_speed = 6200 # default is 2000
-max_fan1_speed = 6200 # default is 6200
+min_fan1_speed = 2000 # default is 2000
+max_fan1_speed = 2600 # default is 2600
low_temp = 63 # try ranges 55-63, default is 63
high_temp = 66 # try ranges 58-66, default is 66
max_temp = 86 # do not set it > 90, default is 86
diff --git a/src/minunit.c b/src/minunit.c
index 5934ffb..a68908c 100644
--- a/src/minunit.c
+++ b/src/minunit.c
@@ -159,7 +159,8 @@ static const char *test_settings()
fan->next = NULL;
retrieve_settings("./mbpfan.conf.test1", fan);
- mu_assert("max_fan_speed value is not 6200", fan->fan_max_speed == 6200);
+ // choosing the maximum for iMac mid 2011
+ mu_assert("max_fan_speed value is not 2600", fan->fan_max_speed == 2600);
mu_assert("polling_interval is not 2", polling_interval == 2);
fan->fan_min_speed = -1;
Use smaller max_fan_speed in tests
This should allow iMacs to complete tests successfully. Fixes #212. Fixes #215.
10d6febeb485539ed4be09f584f74f861df10299
Andrew Gaul <andrew@gaul.org> · 2020-04-30T19:25 ·
browse files at this commit
parents:
bc71232