samples: device_pm: Fix harness

Changing from spinlock to mutex makes the running thread be preempted
and the workqueue ran. This changed the prints order in this sample.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2021-05-20 15:59:04 -07:00 committed by Anas Nashif
commit 69a34e5947

View file

@ -10,8 +10,8 @@ tests:
regex:
- "Device PM sample app start"
- "parent resuming\\.\\."
- "Async wakeup request queued"
- "child resuming\\.\\."
- "Async wakeup request queued"
- "Dummy device resumed"
- "child suspending\\.\\."
- "parent suspending\\.\\."