Use tt_int_op() over tt_assert() and do explicit NULL checks in test_util_gzip().
commita8821d83660c5ed6244e3ad414b348890da93050
authorAlexander Færøy <ahf@torproject.org>
Mon, 17 Apr 2017 12:02:16 +0000 (17 14:02 +0200)
committerAlexander Færøy <ahf@torproject.org>
Mon, 17 Apr 2017 12:02:16 +0000 (17 14:02 +0200)
treef46139a2f66644751e59fb954b204887fd6ba459
parentb081a7ed21ae729f6e195715e130edaca3e0b7fe
Use tt_int_op() over tt_assert() and do explicit NULL checks in test_util_gzip().

This patch changes some of the tt_assert() usage in test_util_gzip() to
use tt_int_op() to get better error messages upon failure.

Additionally we move to use explicit NULL checks.

See https://bugs.torproject.org/21663
src/test/test_util.c