]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: fprintf() + abort() when dlsym() returns NULL
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 24 May 2025 11:57:11 +0000 (12:57 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 29 May 2025 22:30:13 +0000 (17:30 -0500)
commit1f71e76fdaed68321246e84b19684effdd83ff75
treebf4fe685fb50464c3a2a7e34478b718eeed991f3
parented7f71c243f72176db645d94382b6051f326fe7f
testsuite: fprintf() + abort() when dlsym() returns NULL

Currently each of our three dlsym() instances behaves differently. From
seg-faulting, to abort() to assert(). Just use abort throughout, since
assert() is no-op when NDEBUG is defined.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/355
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/path.c
testsuite/uname.c