summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorPo-Hsu Lin <po-hsu.lin@canonical.com>2015-04-22 11:12:39 +0800
committerPo-Hsu Lin <po-hsu.lin@canonical.com>2015-04-22 11:12:39 +0800
commit6450577137edba3504cdd7c4f8dcd84d35cbe3a1 (patch)
treeab7cd5e0c4dcc4a3f1f5b0613c11e9a605cb9cbc /jobs
parentc3c8774126ba58151f1571a8985540840ab1fcf8 (diff)
minor fixes for suspend job command
Diffstat (limited to 'jobs')
-rw-r--r--jobs/led.txt.in1
-rw-r--r--jobs/suspend.txt.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/jobs/led.txt.in b/jobs/led.txt.in
index fe42296..c863271 100644
--- a/jobs/led.txt.in
+++ b/jobs/led.txt.in
@@ -24,6 +24,7 @@ _description:
plugin: manual
id: led/suspend
estimated_duration: 30.0
+depends: suspend/suspend_advanced
_description:
PURPOSE:
Suspend LED verification.
diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in
index 3e89bea..472dca7 100644
--- a/jobs/suspend.txt.in
+++ b/jobs/suspend.txt.in
@@ -294,7 +294,7 @@ command:
command:
if type -P fwts >/dev/null; then
echo "Calling fwts"
- set -o pipefail; fwts_test -f none -l $PLAINBOX_SESSION_SHARE/`echo ${index}`suspend_single -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee $PLAINBOX_SESSION_SHARE/`echo ${index}`_suspend_single_times.log
+ set -o pipefail; fwts_test -f none -l $PLAINBOX_SESSION_SHARE/`echo ${index}`_suspend_single -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee $PLAINBOX_SESSION_SHARE/`echo ${index}`_suspend_single_times.log
else
echo "Calling sleep_test"
set -o pipefail; sleep_test -p | tee $PLAINBOX_SESSION_SHARE/`echo ${index}`_suspend_single_times.log