tests/pm_pc8: add pci-d3-state subtest
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 25 Feb 2014 20:46:27 +0000 (17:46 -0300)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 25 Feb 2014 21:00:53 +0000 (18:00 -0300)
commit37773d91d9b56f9f06c86e405e8dc9343f2c71c1
tree940af85b6dbb98feab2bb7f1abcc58b5e2d7f448
parent31b20f7478a27e159482ac23f3d128e90ca98d23
tests/pm_pc8: add pci-d3-state subtest

Currently the test suite just looks at the files provided by the
runtime power management framework to check if the device is runtime
suspended. Add a test that reads the PCI config space to check if the
device is actually in PCI D3 state or not.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
tests/pm_pc8.c