Home
last modified time | relevance | path

Searched refs:fapath (Results 1 – 1 of 1) sorted by relevance

/freebsd-14.2/lib/libcasper/services/cap_fileargs/tests/
H A Dfileargs_test.c154 char fapath[PATH_MAX], origpath[PATH_MAX]; in test_file_realpath_static() local
156 if (fileargs_realpath(fa, file, fapath) == NULL) in test_file_realpath_static()
161 if (strcmp(fapath, origpath) != 0) in test_file_realpath_static()
170 char *fapath, *origpath; in test_file_realpath_alloc() local
173 fapath = fileargs_realpath(fa, file, NULL); in test_file_realpath_alloc()
174 if (fapath == NULL) in test_file_realpath_alloc()
181 if (strcmp(fapath, origpath) != 0) in test_file_realpath_alloc()
184 free(fapath); in test_file_realpath_alloc()