snmpapi: Relax tests to fix some failures.
commitdd75176d3459adf54cdb62920e72d8bd8070d074
authorJuan Lang <juan.lang@gmail.com>
Fri, 13 Feb 2009 17:38:29 +0000 (13 09:38 -0800)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 16 Feb 2009 10:48:04 +0000 (16 11:48 +0100)
tree4f9a6af8f3a8cceb7230775b3cbb3fbbbf0ab961
parent5d16361f883d07b85999613b0d144e2d1e4b1576
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.
dlls/snmpapi/tests/util.c