]> granicus.if.org Git - procps-ng/commit
build-sys: proper fix for the 'test_Itemtables' module
authorJim Warner <james.warner@comcast.net>
Mon, 17 Aug 2020 17:12:12 +0000 (12:12 -0500)
committerCraig Small <csmall@dropbear.xyz>
Tue, 18 Aug 2020 00:19:53 +0000 (10:19 +1000)
commit0cddb06425f98ff78b352500cfbc15129e79b09f
treee3b47ad090e79d017603ed86d64cfc669e8785a7
parent4eeed6dcff8b3bf3930eb1998738b5c6d458f0c1
build-sys: proper fix for the 'test_Itemtables' module

Me thinks Craig had the right idea but perhaps not the
most correct solution. As currently structured, all of
the tests now go way too far by checking every 'unref'
and 'new' call when what we're trying for is survival.

In the final analysis, it doesn't matter who issues an
EXIT_FAILURE - that run_tests guy or an early Exit out
of a procps_new() function. They both will produce the
same end result of the desired "FAIL" test diagnostic.

[ and this patch once again allows the slabinfo test ]

Reference(s):
commit 4eeed6dcff8b3bf3930eb1998738b5c6d458f0c1

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/test_Itemtables.c