Menu

#942 saHpiSensorThresholdsSet/3.c returns FAIL in error

open
5
2006-09-15
2006-09-15
No

The tests sets a thresholds and then gets it to see
what in fact got set. If any thresholds that were
unsupported were still modified, then the test is
supposed to return FAIL.
The problem is that the test compares the values that
were not supposed to change against the original ones.
If they are _not_ the same, the test fails.
Of course, it wrong and it should be detection the fail
condition if the values are the same.
It is basically a typo in the if condition, line 318.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB