[libc-commits] [libc] 0c8dfc8 - [libc][stdio][test] fixup rename test (#86136)
via libc-commits
libc-commits at lists.llvm.org
Thu Mar 21 08:36:50 PDT 2024
Author: Nick Desaulniers
Date: 2024-03-21T08:36:47-07:00
New Revision: 0c8dfc85c3740bd8905e21642f616e6fd54854e0
URL: https://github.com/llvm/llvm-project/commit/0c8dfc85c3740bd8905e21642f616e6fd54854e0
DIFF: https://github.com/llvm/llvm-project/commit/0c8dfc85c3740bd8905e21642f616e6fd54854e0.diff
LOG: [libc][stdio][test] fixup rename test (#86136)
Link: #84980
Link: #85068
Added:
Modified:
libc/test/src/stdio/CMakeLists.txt
libc/test/src/stdio/rename_test.cpp
Removed:
################################################################################
diff --git a/libc/test/src/stdio/CMakeLists.txt b/libc/test/src/stdio/CMakeLists.txt
index a11a232c27e1a7..4c38e8aba7d7f2 100644
--- a/libc/test/src/stdio/CMakeLists.txt
+++ b/libc/test/src/stdio/CMakeLists.txt
@@ -354,7 +354,7 @@ if(${LIBC_TARGET_OS} STREQUAL "linux")
libc.src.unistd.access
libc.src.unistd.close
)
-
+
add_libc_test(
rename_test
SUITE
diff --git a/libc/test/src/stdio/rename_test.cpp b/libc/test/src/stdio/rename_test.cpp
index a9fbe24ded9cf7..3ed39fe8c0eb97 100644
--- a/libc/test/src/stdio/rename_test.cpp
+++ b/libc/test/src/stdio/rename_test.cpp
@@ -6,6 +6,8 @@
//
//===----------------------------------------------------------------------===//
+#include "include/llvm-libc-macros/linux/unistd-macros.h"
+#include "include/llvm-libc-macros/linux/sys-stat-macros.h"
#include "src/errno/libc_errno.h"
#include "src/fcntl/open.h"
#include "src/stdio/rename.h"
More information about the libc-commits
mailing list