Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73691aaf authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

bootstat: fix test regression (exec_background)

Deal with regression from 557a9d40
where bootstat was moved to exec_background and actions delayed
to improve boot time.  Add a 1 second sleep rather than trying to
inspect the dmesg (debug only) for clues to the end of bootstat.

Test: system/core/bootstat/boot_reason_test.sh
Bug: 63736262
Change-Id: I87dfb6a07130112bf51c367632967efa53ea2534
parent bcf66ed6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -194,10 +194,12 @@ wait_for_screen() {
              sed -n 's/[[]sys[.]\(boot_completed\|logbootcomplete\)[]]: [[]\([01]\)[]]$/\1=\2/p'`
        if [ "${vals}" = "`echo boot_completed=1 ; echo logbootcomplete=1`" ]
        then
          sleep 1
          break
        fi
        if [ "${vals}" = "`echo logbootcomplete=1 ; echo boot_completed=1`" ]
        then
          sleep 1
          break
        fi
      fi