tests.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-12-15 13:59:30 -06:00
parent 5df8758f12
commit 0a540cdea0

View file

@ -330,7 +330,7 @@ test_rmdir()
TEST_CHECK(rv == 0);
int file2_fd;
file2_fd = openat(dir_fd,"test-file",O_CREAT|O_EXCL,0555);
file2_fd = openat(dir_fd,"test-file2",O_CREAT|O_EXCL,0555);
TEST_CHECK(file2_fd >= 0);
TEST_MSG("expected: 0; got: %d:%d:%s",file2_fd,errno,strerror(errno));