summaryrefslogtreecommitdiff
path: root/units/suspend
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 13:25:36 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 13:25:36 +0200
commit57f33b64fb975c672d19494fe872d8a3a3bb0e30 (patch)
treed8efc03fe5af253fa6b6ae3fc14a5a39fd250fa6 /units/suspend
parent48c38f969deb767935fe2b6212b428fecd79b69c (diff)
bin:sleep_time_check -> sleep_time_check.py
Diffstat (limited to 'units/suspend')
-rw-r--r--units/suspend/suspend-graphics.pxu2
-rw-r--r--units/suspend/suspend.pxu4
2 files changed, 3 insertions, 3 deletions
diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu
index f108249..74b5cb1 100644
--- a/units/suspend/suspend-graphics.pxu
+++ b/units/suspend/suspend-graphics.pxu
@@ -236,7 +236,7 @@ depends:
suspend/suspend_advanced
{%- endif %}
estimated_duration: 1.2
-command: [ -e $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log
+command: [ -e $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log
_description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold
unit: template
diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu
index 101e27f..5c6656e 100644
--- a/units/suspend/suspend.pxu
+++ b/units/suspend/suspend.pxu
@@ -350,7 +350,7 @@ plugin: shell
category_id: com.canonical.plainbox::suspend
id: suspend/suspend-time-check
estimated_duration: 1.2
-command: [ -e $PLAINBOX_SESSION_SHARE/suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/suspend_single_times.log
+command: [ -e $PLAINBOX_SESSION_SHARE/suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/suspend_single_times.log
_summary: Ensure time to suspend/resume is under threshold
_description:
Checks the sleep times to ensure that a machine suspends and resumes within a given threshold
@@ -363,7 +363,7 @@ category_id: com.canonical.plainbox::suspend
id: suspend/{index}_suspend-time-check_{product_slug}
depends: suspend/{index}_suspend_after_switch_to_card_{product_slug}
estimated_duration: 1.2
-command: [ -e $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log
+command: [ -e $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log
_summary: Ensure time to suspend/resume is under threshold
_description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold