]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite/modprobe: Simplify modprobe exec
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Nov 2024 16:54:47 +0000 (16:54 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 21 Nov 2024 04:27:37 +0000 (22:27 -0600)
commita76afe12abaab0429c967e5c8a58699094e10310
tree5bbf72b82868916358d2ae5ac716f146b48ebfdc
parentec3baed9f933e50ce84b7f404df4099e2f02bf04
testsuite/modprobe: Simplify modprobe exec

Too much copy and paste for simple exec tests. Just provide an
EXEC_MODPROBE macro to help.

Hats off to Lucas for the initial idea and porting the depmod test.

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