summaryrefslogtreecommitdiffstats
path: root/tests/manual/recovery_test.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-07-20 01:09:20 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-07-20 01:09:20 +0200
commit96b5bb9601033d6c2371f2c71f5030717f5abcfd (patch)
treeb8f24a1af336f7fd0236e5ccf861ac2b15c383ed /tests/manual/recovery_test.cpp
parentMerge "Fix the missing char when showing recovery logs." am: 8155a8ba74 (diff)
parentMerge "Fix the android-cloexec-* warnings in bootable/recovery" (diff)
downloadandroid_bootable_recovery-96b5bb9601033d6c2371f2c71f5030717f5abcfd.tar
android_bootable_recovery-96b5bb9601033d6c2371f2c71f5030717f5abcfd.tar.gz
android_bootable_recovery-96b5bb9601033d6c2371f2c71f5030717f5abcfd.tar.bz2
android_bootable_recovery-96b5bb9601033d6c2371f2c71f5030717f5abcfd.tar.lz
android_bootable_recovery-96b5bb9601033d6c2371f2c71f5030717f5abcfd.tar.xz
android_bootable_recovery-96b5bb9601033d6c2371f2c71f5030717f5abcfd.tar.zst
android_bootable_recovery-96b5bb9601033d6c2371f2c71f5030717f5abcfd.zip
Diffstat (limited to 'tests/manual/recovery_test.cpp')
-rw-r--r--tests/manual/recovery_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/recovery_test.cpp b/tests/manual/recovery_test.cpp
index d36dd331e..92c6ef2d4 100644
--- a/tests/manual/recovery_test.cpp
+++ b/tests/manual/recovery_test.cpp
@@ -141,7 +141,7 @@ class ResourceTest : public testing::TestWithParam<std::string> {
// under recovery.
void SetUp() override {
std::string file_path = GetParam();
- fp = fopen(file_path.c_str(), "rb");
+ fp = fopen(file_path.c_str(), "rbe");
ASSERT_NE(nullptr, fp);
unsigned char header[8];