summaryrefslogtreecommitdiff
diff options
authorPo-Hsu Lin <po-hsu.lin@canonical.com>2015-03-17 19:09:35 +0800
committerPo-Hsu Lin <po-hsu.lin@canonical.com>2015-03-17 19:09:35 +0800
commit73b271ef5d74794746334c2bcd11e5e33bf2bcdb (patch)
tree9200f0e07539f5674cf179256e59d8c39e948d71
parent67338835daad9b77bffa715ba1ccdad3ee5b4114 (diff)
resolution_after_suspend: Adding dependency, it will depends on resolution_before_suspend
-rw-r--r--jobs/suspend.txt.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in
index 137afe6..64a10bb 100644
--- a/jobs/suspend.txt.in
+++ b/jobs/suspend.txt.in
@@ -428,6 +428,7 @@ command:
plugin: shell
id: suspend/`echo ${index}`_resolution_after_suspend_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`
estimated_duration: 1.2
+ depends: suspend/`echo ${index}`_resolution_before_suspend_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`
_description: Test to see that we have the same resolution after resuming as before.
command: xrandr -q |grep '*'| awk '{print $1}' | diff $PLAINBOX_SESSION_SHARE/`echo ${index}`_resolution_before_suspend_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`.txt -
EOF