Disable dark resume on test images.

Several tests depend on RTC to wakeup from suspend. But on devices
with dark resume enabled, powerd will suspend the device immediately
on wake from RTC. This can interfere with the tests. Thus
200disableDarkResume is expected to disable dark resume on test images
so that a wake from RTC will result in a full resume. When dark resume
is enabled on specifice device via cros_config, only
/var/lib/power_manager/disable_dark_resume can overwrite it. Thus set
the same file.
Tests that have to test dark
resume will create a temporary directory and mount it inplace of the
above one.

BUG=b:141459234
TEST=None

Change-Id: I13f6a58439bd92395fcf3222282229af03dd8b45
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/1825944
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Ravi Chandra Sadineni <ravisadineni@chromium.org>
Auto-Submit: Ravi Chandra Sadineni <ravisadineni@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Commit-Queue: Ravi Chandra Sadineni <ravisadineni@chromium.org>
1 file changed