snmpapi: Relax tests to fix some failures.
The tests were overly restrictive. The functions are supposed to
return values less than 0, 0, or greater than 0, whereas the tests
restricted the return values to -1, 0, or 1. Using less than
0/greater than 0 comparisons rather than == -1 or == 1 should fix a
few failing tests, and match the API descriptions better.
Showing
Please
register
or
sign in
to comment