mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-01 20:36:37 -05:00
tests.cpp
This commit is contained in:
parent
4861eaf23d
commit
5df8758f12
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ test_rmdir()
|
||||||
int file2_fd;
|
int file2_fd;
|
||||||
file2_fd = openat(dir_fd,"test-file",O_CREAT|O_EXCL,0555);
|
file2_fd = openat(dir_fd,"test-file",O_CREAT|O_EXCL,0555);
|
||||||
TEST_CHECK(file2_fd >= 0);
|
TEST_CHECK(file2_fd >= 0);
|
||||||
TEST_MSG("expected: 0; got: %d:%d:%s",rv,errno,strerror(errno));
|
TEST_MSG("expected: 0; got: %d:%d:%s",file2_fd,errno,strerror(errno));
|
||||||
|
|
||||||
struct stat st;
|
struct stat st;
|
||||||
rv = fstatat(file_fd,"",&st,AT_EMPTY_PATH);
|
rv = fstatat(file_fd,"",&st,AT_EMPTY_PATH);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue