tests.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-12-15 13:58:53 -06:00
parent 634a1489ea
commit 4861eaf23d

View file

@ -332,6 +332,7 @@ test_rmdir()
int file2_fd;
file2_fd = openat(dir_fd,"test-file",O_CREAT|O_EXCL,0555);
TEST_CHECK(file2_fd >= 0);
TEST_MSG("expected: 0; got: %d:%d:%s",rv,errno,strerror(errno));
struct stat st;
rv = fstatat(file_fd,"",&st,AT_EMPTY_PATH);