aboutsummaryrefslogtreecommitdiffstats
path: root/tests/stdio_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdio_test.cpp')
-rw-r--r--tests/stdio_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp
index 5736e17873..9d840f5314 100644
--- a/tests/stdio_test.cpp
+++ b/tests/stdio_test.cpp
@@ -2740,8 +2740,8 @@ TEST(STDIO_TEST, renameat) {
}
TEST(STDIO_TEST, renameat2) {
-#if defined(__GLIBC__)
- GTEST_SKIP() << "glibc doesn't have renameat2 until 2.28";
+#if defined(__GLIBC__) || defined(MUSL)
+ GTEST_SKIP() << "glibc doesn't have renameat2 until 2.28 and musl doesn't have renameat2";
#else
TemporaryDir td;
android::base::unique_fd dirfd{open(td.path, O_PATH)};