]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: Fix test-weakdep with autoconf defaults
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 27 Sep 2024 19:26:40 +0000 (21:26 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 28 Sep 2024 04:14:04 +0000 (23:14 -0500)
commit82062d275dc6a29f35b96eaa1c0eff9b1d3db9f3
tree292fd2f63bc874acf55a8ccde2eb748a241a87ca
parent884454eae5013bcb0f72af8148639533cade7ce7
testsuite: Fix test-weakdep with autoconf defaults

If ./configure is run without any further options, then /usr/etc
is used as SYSCONFDIR, which breaks test-weakdep, because the
/etc path is hardcoded in it.

Use SYSCONFDIR to reflect the actual rootfs setup.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/157
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/test-weakdep.c