mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
tests.cpp
This commit is contained in:
parent
78d8455ef2
commit
27d4d3d75a
1 changed files with 3 additions and 1 deletions
|
|
@ -308,11 +308,13 @@ void
|
|||
test_rmdir()
|
||||
{
|
||||
int root_fd;
|
||||
int dir_fd;
|
||||
|
||||
root_fd = openat(AT_FDCWD,"/mnt/tmp",O_DIRECTORY,0777);
|
||||
dir_fd = mkdirat(root_fd,"test-dir",0777);
|
||||
|
||||
|
||||
|
||||
close(dir_fd);
|
||||
close(root_fd);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue