conftest: Use path_dirname()

This commit is contained in:
Tobias Brunner 2014-02-24 11:19:05 +01:00
parent 849e401b37
commit 9222d58634
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ static bool load_configs(char *suite_file, char *test_file)
}
conftest->test = settings_create(suite_file);
conftest->test->load_files(conftest->test, test_file, TRUE);
conftest->suite_dir = strdup(dirname(suite_file));
conftest->suite_dir = path_dirname(suite_file);
return TRUE;
}