diff --git a/tests/tests.cpp b/tests/tests.cpp index 29a35a75..f8465a0c 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -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);