aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Xie <dxie@google.com>2016-06-22 14:19:01 -0700
committerDaniel Xie <dxie@google.com>2016-06-22 14:19:01 -0700
commit175dd8ac616f807cebf39917c2652e3fe23c633d (patch)
treef464dc2c58a3aa3f540150919295a00211d41a83
parentde1f02c02815c06a6123e0d857ca217534ffbd47 (diff)
downloadbionic-175dd8ac616f807cebf39917c2652e3fe23c633d.tar.gz
DO NOT MERGE: push out fix for data dir.
Change-Id: I97ff02676e7f6008c26ddb5c41eb113b4b62280f
-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);