summaryrefslogtreecommitdiffstats
path: root/tests/manual/recovery_test.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-07-20 01:12:20 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-07-20 01:12:20 +0200
commitf2a279adb556649d41cd7750e22be1cc6bce62e5 (patch)
treec742e5f7fe9b9cd3232aefdcb408b763f519e0d1 /tests/manual/recovery_test.cpp
parentMerge "Fix the missing char when showing recovery logs." am: 8155a8ba74 am: c61bbe158e (diff)
parentMerge "Fix the android-cloexec-* warnings in bootable/recovery" am: 94a8ea1797 (diff)
downloadandroid_bootable_recovery-f2a279adb556649d41cd7750e22be1cc6bce62e5.tar
android_bootable_recovery-f2a279adb556649d41cd7750e22be1cc6bce62e5.tar.gz
android_bootable_recovery-f2a279adb556649d41cd7750e22be1cc6bce62e5.tar.bz2
android_bootable_recovery-f2a279adb556649d41cd7750e22be1cc6bce62e5.tar.lz
android_bootable_recovery-f2a279adb556649d41cd7750e22be1cc6bce62e5.tar.xz
android_bootable_recovery-f2a279adb556649d41cd7750e22be1cc6bce62e5.tar.zst
android_bootable_recovery-f2a279adb556649d41cd7750e22be1cc6bce62e5.zip
Diffstat (limited to '')
-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];