autotest: fix string matching for connected-on-resume test
In the check_connected_on_last_resume helper function in
network_WiFi_ReconnectInDarkResume, Look for the corect (regex) string in
/var/log/net.log to find the log message that reports whether or not the DUT
was connected on the last resume.
Previously, the string used in the grep command returned the "OnAfterResume"
log message from WakeOnWiFi::OnAfterResume, which did not contain connectivity
status. Add an additional check to make sure we get a log message reporting
connection status to prevent future regressions here.
BUG=None.
TEST=Run network_WiFi_ReconnectInDarkResume on samus servo wificell.
Change-Id: I79142db72612f716016cca2aad7676d9a018e760
Reviewed-on: https://chromium-review.googlesource.com/263561
Reviewed-by: Samuel Tan <samueltan@chromium.org>
Commit-Queue: Samuel Tan <samueltan@chromium.org>
Tested-by: Samuel Tan <samueltan@chromium.org>
1 file changed