aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Xie <dxie@google.com>2016-06-22 21:22:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-06-22 21:22:03 +0000
commitf09a2ff2e627356cf44352b49e156e261dd049ba (patch)
treef464dc2c58a3aa3f540150919295a00211d41a83
parentde1f02c02815c06a6123e0d857ca217534ffbd47 (diff)
parent175dd8ac616f807cebf39917c2652e3fe23c633d (diff)
downloadbionic-android-cts-6.0_r29.tar.gz
-rw-r--r--tests/unistd_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unistd_test.cpp b/tests/unistd_test.cpp
index 75b3edc4c..51ec52e54 100644
--- a/tests/unistd_test.cpp
+++ b/tests/unistd_test.cpp
@@ -374,7 +374,7 @@ static void TestFsyncFunction(int (*fn)(int)) {
close(fd);
// The fd can even be a directory.
- ASSERT_NE(-1, fd = open("/data", O_RDONLY));
+ ASSERT_NE(-1, fd = open("/data/local/tmp", O_RDONLY));
EXPECT_EQ(0, fn(fd));
close(fd);