aboutsummaryrefslogtreecommitdiffstats
path: root/tests/stdio_test.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-08-13 00:56:48 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-08-13 00:56:48 +0000
commita93cea05cf0f92a61715e9fd6c22a7e519e8cfbd (patch)
tree51db1cace0a75ac9e33aef1efb36e3f1d6832c67 /tests/stdio_test.cpp
parent4c92da431155174c6bfef91c227fe34becb340c0 (diff)
parent7da20341e91a4ece30f628fb91fbc6056c9c8a7c (diff)
downloadplatform_bionic-a93cea05cf0f92a61715e9fd6c22a7e519e8cfbd.tar.gz
platform_bionic-a93cea05cf0f92a61715e9fd6c22a7e519e8cfbd.tar.bz2
platform_bionic-a93cea05cf0f92a61715e9fd6c22a7e519e8cfbd.zip
Merge "Build bionic unit tests for musl"
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)};