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
27d4d3d75a
commit
e20253013e
1 changed files with 2 additions and 0 deletions
|
|
@ -311,7 +311,9 @@ test_rmdir()
|
|||
int dir_fd;
|
||||
|
||||
root_fd = openat(AT_FDCWD,"/mnt/tmp",O_DIRECTORY,0777);
|
||||
TEST_CHECK(root_fd >= 0);
|
||||
dir_fd = mkdirat(root_fd,"test-dir",0777);
|
||||
TEST_CHECK(dir_fd >= 0);
|
||||
|
||||
|
||||
close(dir_fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue