Merge "16k: bionic: Replace hardcoded page size with getpagesize()" into main am: 4d9af810fd
Original change: https://android-review.googlesource.com/c/platform/bionic/+/3069105 Change-Id: I01cba7ceeeebb31d85db6659a9271a31eeedd882 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
939d7ae914
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
|||
#include <string>
|
||||
|
||||
template <typename StatVfsT> void Check(StatVfsT& sb) {
|
||||
EXPECT_EQ(4096U, sb.f_bsize);
|
||||
EXPECT_EQ(getpagesize(), static_cast<int>(sb.f_bsize));
|
||||
EXPECT_EQ(0U, sb.f_bfree);
|
||||
EXPECT_EQ(0U, sb.f_ffree);
|
||||
EXPECT_EQ(255U, sb.f_namemax);
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "utils.h"
|
||||
|
||||
template <typename StatFsT> void Check(StatFsT& sb) {
|
||||
EXPECT_EQ(4096, static_cast<int>(sb.f_bsize));
|
||||
EXPECT_EQ(getpagesize(), static_cast<int>(sb.f_bsize));
|
||||
EXPECT_EQ(0U, sb.f_bfree);
|
||||
EXPECT_EQ(0U, sb.f_ffree);
|
||||
EXPECT_EQ(255, static_cast<int>(sb.f_namelen));
|
||||
|
|
Loading…
Reference in a new issue