snmpapi: Relax tests to fix some failures

Juan Lang juan.lang at gmail.com
Fri Feb 13 11:40:42 CST 2009


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.
--Juan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Relax-tests-to-fix-some-failures.patch
Type: text/x-diff
Size: 2171 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090213/9ff45778/attachment.patch 


More information about the wine-patches mailing list