Skip to content

Commit e26f58f

Browse files
committed
add a check if wakealarm is supported (bugfix)
This avoids a failing test and skips it instead if the rtc does not support an automatic wakeup.
1 parent dc0c59e commit e26f58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/base/units/suspend/suspend.pxu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ category_id: com.canonical.plainbox::suspend
251251
id: suspend/suspend_advanced_auto
252252
requires:
253253
sleep.mem == 'supported'
254-
rtc.state == 'supported'
254+
rtc.state == 'supported' and rtc.wakealarm == 'supported'
255255
_summary: Automated test of suspend function
256256
_purpose:
257257
This is the automated version of suspend/suspend_advanced.

0 commit comments

Comments
 (0)