/usr/share/2013.com.canonical.certification:checkbox/jobs/hibernate.txt.in is in plainbox-provider-checkbox 0.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | plugin: user-interact-verify
id: power-management/hibernate_advanced
requires:
sleep.disk == 'supported'
rtc.state == 'supported'
environ: PLAINBOX_SESSION_SHARE
user: root
command:
if type -P fwts >/dev/null; then
echo "Calling fwts"
fwts_test -l $PLAINBOX_SESSION_SHARE/hibernate-single -f none -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120
else
echo "Calling sleep_test"
sleep_test -s disk -w 120
fi
estimated_duration: 300.00
_description:
PURPOSE:
This test will check to make sure your system can successfully hibernate (if supported)
STEPS:
1. Click on Test
2. The system will hibernate and should wake itself within 5 minutes
3. If your system does not wake itself after 5 minutes, please press the power button to wake the system manually
4. If the system fails to resume from hibernate, please restart System Testing and mark this test as Failed
VERIFICATION:
Did the system successfully hibernate and did it work properly after waking up?
plugin: shell
id: power-management/hibernate-single-log-check
command: [ -e $PLAINBOX_SESSION_SHARE/hibernate-single.log ] && sleep_test_log_check -v s4 $PLAINBOX_SESSION_SHARE/hibernate-single.log
_description:
Automated check of the hibernate log for errors discovered by fwts
plugin: attachment
id: power-management/hibernate-single-log-attach
command: [ -e $PLAINBOX_SESSION_SHARE/hibernate-single.log ] && cat $PLAINBOX_SESSION_SHARE/hibernate-single.log
estimated_duration: 0.5
description: attaches log from single hibernate/resume test to results
|