]> git.ipfire.org Git - thirdparty/kmod.git/blobdiff - testsuite/path.c
testsuite: Wrap chdir()
[thirdparty/kmod.git] / testsuite / path.c
index 964d33eb25a053ce8052047b8189f97849d891e6..c1ae4986b865ac314b2830f21265915fff95634b 100644 (file)
@@ -185,6 +185,7 @@ TS_EXPORT int prefix ## stat ## suffix (int ver,        \
 }
 
 WRAP_1ARG(DIR*, NULL, opendir);
+WRAP_1ARG(int, -1, chdir);
 
 WRAP_2ARGS(FILE*, NULL, fopen, const char*);
 WRAP_2ARGS(FILE*, NULL, fopen64, const char*);