Modify the test to run in stress suite
- Added check for lid available. If no lid, device is
suspended through powerd_dbus_suspend, and resumed
through short power button press
- Added three more lid close/open calls. Now test executes
1) hotplug
2) suspend/resume as unplugged
3) unplug/suspend/plug/resume
4) plug/suspend/unplug/resume
4) suspend/resume as plugged
- Removed stressor (getcwd() calls fail at test exit) and
iterating through test method after logged-in.
BUG=None
TEST=Multiple lab boards test runs.
Change-Id: Icbb1d4036fb338b5b898ea0c33bee65d444b4544
Reviewed-on: https://chromium-review.googlesource.com/264058
Reviewed-by: Yusuf Mohsinally <mohsinally@chromium.org>
Commit-Queue: Kalin Stoyanov <kalin@chromium.org>
Tested-by: Kalin Stoyanov <kalin@chromium.org>
2 files changed