]> git.ipfire.org Git - thirdparty/kmod.git/commit
test: add test to convert name to path
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 6 Dec 2011 01:17:29 +0000 (23:17 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 6 Dec 2011 05:34:51 +0000 (03:34 -0200)
commitc5b5ea9c7c4722ce33d1abb8cbee0d87bc99806a
tree4c5b2faeac067432a781b72caf291fb5934ec94c
parent4f2bb7cdd4c0b77f09f6f79b2c92683fdcdfa163
test: add test to convert name to path

If we create a kmod_module from a name, the path returned is relative to
the module dirname, as passed during kmod_ctx creation. Note that if
kmod_ctx is created with kmod_new(NULL), the dir used is the one
returned by uname.
Makefile.am
test/.gitignore
test/test-path-from-name.c [new file with mode: 0644]