File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ static const char *test_config_file()
151151static const char * test_settings ()
152152{
153153 retrieve_settings ("./mbpfan.conf.test1" );
154- mu_assert ("min_fan_speed value is not 6200" , min_fan_speed == 6200 );
154+ mu_assert ("max_fan_speed value is not 6200" , max_fan_speed == 6200 );
155155 mu_assert ("polling_interval is not 1" , polling_interval == 1 );
156156 retrieve_settings ("./mbpfan.conf" );
157157 mu_assert ("min_fan_speed value is not 2000" , min_fan_speed == 2000 );
@@ -188,6 +188,7 @@ static const char *test_settings_reload()
188188{
189189 signal (SIGHUP , handler );
190190 retrieve_settings ("./mbpfan.conf" );
191+ printf ("Testing the _supplied_ mbpfan.conf (not the one you are using)..\n" );
191192 mu_assert ("min_fan_speed value is not 2000 before SIGHUP" , min_fan_speed == 2000 );
192193 mu_assert ("polling_interval is not 7 before SIHUP" , polling_interval == 7 );
193194 raise (SIGHUP );
You can’t perform that action at this time.
0 commit comments