]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: introduce and use EXEC_TOOL() macro
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Jun 2025 16:16:09 +0000 (17:16 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Mon, 16 Jun 2025 12:37:42 +0000 (07:37 -0500)
commitd59268554b0a7ea68dfc5bf17289b9bdef7d2843
treee60f272216686736a13c35d6ae5002fbb504b4df
parentbcdf71a1efa9e3f6acadf3d249bd7021f8452240
testsuite: introduce and use EXEC_TOOL() macro

Swap the currect EXEC_DEPMOD and EXEC_MODPROBE with a slightly more
generic macro - EXEC_TOOL based off them.

Update all in-tree instances of test_spawn_prog() to use it.

This will make follow-up work (removing the noreturn/exit) a bit easier
and more consistent.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/371
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/test-depmod.c
testsuite/test-modinfo.c
testsuite/test-modprobe.c
testsuite/test-weakdep.c
testsuite/testsuite.h