]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite/test-modprobe: reinstate chdir error path
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 20 Jun 2025 10:11:04 +0000 (11:11 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 27 Jun 2025 16:02:55 +0000 (11:02 -0500)
commitb3a4f0e56058a48cbac1a0613c49d1175eba6ac3
tree24128303ea82badd71f98663d9270a3ad5e6a297
parent049c55df4761f7a0dd19b30ce4d776be122d7ca0
testsuite/test-modprobe: reinstate chdir error path

Earlier commit used a global sed to remove the no-longer needed
exit(EXIT_FAILURE) calls. In the process it also removed one instance
in the error path, which should remain.

Fixes: e09acf2e ("testsuite: remove exit from EXEC_TOOL tests")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/379
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/test-modprobe.c