am 2557433d: Merge "Change hard-coded directory."

* commit '2557433d8ea4c489f061170822f34f038b930b96':
  Change hard-coded directory.
This commit is contained in:
Christopher Ferris 2013-08-27 17:38:07 -07:00 committed by Android Git Automerger
commit d923b3075c

View File

@ -35,7 +35,7 @@ TEST(statvfs, statvfs) {
#endif #endif
#if __BIONIC__ #if __BIONIC__
ASSERT_EQ(0, statvfs("/data/data", &sb)); ASSERT_EQ(0, statvfs("/data/local/tmp", &sb));
ASSERT_NE(0U, sb.f_bfree); ASSERT_NE(0U, sb.f_bfree);
ASSERT_NE(0U, sb.f_ffree); ASSERT_NE(0U, sb.f_ffree);
ASSERT_NE(0U, sb.f_fsid); ASSERT_NE(0U, sb.f_fsid);
@ -59,7 +59,7 @@ TEST(statvfs, fstatvfs) {
#endif #endif
#if __BIONIC__ #if __BIONIC__
fd = open("/data/data", O_RDONLY); fd = open("/data/local/tmp", O_RDONLY);
ASSERT_EQ(0, fstatvfs(fd, &sb)); ASSERT_EQ(0, fstatvfs(fd, &sb));
close(fd); close(fd);
ASSERT_NE(0U, sb.f_bfree); ASSERT_NE(0U, sb.f_bfree);