Message ID | 20230113213745.227703-2-gustavo.sousa@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/3] testsuite: Wrap chdir() | expand |
diff --git a/testsuite/path.c b/testsuite/path.c index 964d33eb25a0..c1ae4986b865 100644 --- a/testsuite/path.c +++ b/testsuite/path.c @@ -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*);
One of the tests in an upcoming patch will need to change into a specific directory to test loading a module from a relative path. Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com> --- testsuite/path.c | 1 + 1 file changed, 1 insertion(+)