From 277e413ac40b29e4ef3c4c25f447c5cb418f88eb Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Wed, 22 May 2019 09:10:42 -0700 Subject: [PATCH] adb-remount-test: adb_reboot stdin issue adb reboot can pull stdin content, block it. Test: adb-remount-test.sh Bug: 132070014 Change-Id: I36f0bb7486cec2a18cd2b5550650a19f05c904b5 --- fs_mgr/tests/adb-remount-test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs_mgr/tests/adb-remount-test.sh b/fs_mgr/tests/adb-remount-test.sh index 04422f9d6..e6625e74a 100755 --- a/fs_mgr/tests/adb-remount-test.sh +++ b/fs_mgr/tests/adb-remount-test.sh @@ -173,7 +173,7 @@ adb_cat() { Returns: true if the reboot command succeeded" ] adb_reboot() { - adb reboot remount-test || true + adb reboot remount-test &2 fixup_from_recovery() { inRecovery || return 1 echo "${ORANGE}[ ERROR ]${NORMAL} Device in recovery" >&2 - adb reboot + adb reboot &2 - adb reboot fastboot || + adb reboot fastboot