Skip to content

Commit f55e5f6

Browse files
committed
New file test failure.
1 parent 6c72474 commit f55e5f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc/test/src/__support/File/platform_file_test.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ LIBC_INLINE File *openfile(const char *file_name, const char *mode) {
2020
return error_or_file.has_value() ? error_or_file.value() : nullptr;
2121
}
2222

23+
// TODO: Investigate the precommit bots' failures of this test and re-enable it.
24+
// https://github.com/llvm/llvm-project/issues/128185.
25+
#if 0
2326
TEST(LlvmLibcPlatformFileTest, CreateWriteCloseAndReadBack) {
2427
constexpr char FILENAME[] = "testdata/create_write_close_and_readback.test";
2528
File *file = openfile(FILENAME, "w");
@@ -40,6 +43,7 @@ TEST(LlvmLibcPlatformFileTest, CreateWriteCloseAndReadBack) {
4043

4144
ASSERT_EQ(file->close(), 0);
4245
}
46+
#endif
4347

4448
TEST(LlvmLibcPlatformFileTest, CreateWriteSeekAndReadBack) {
4549
constexpr char FILENAME[] = "testdata/create_write_seek_and_readback.test";

0 commit comments

Comments
 (0)