Merge lp:~bladernr/checkbox/1095713-set-pipefail-on-sleep-jobs into lp:checkbox
Proposed by
Jeff Lane
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Zygmunt Krynicki | ||||
Approved revision: | 1863 | ||||
Merged at revision: | 1863 | ||||
Proposed branch: | lp:~bladernr/checkbox/1095713-set-pipefail-on-sleep-jobs | ||||
Merge into: | lp:checkbox | ||||
Diff against target: |
60 lines (+9/-6) 3 files modified
debian/changelog (+3/-0) jobs/stress.txt.in (+4/-4) jobs/suspend.txt.in (+2/-2) |
||||
To merge this branch: | bzr merge lp:~bladernr/checkbox/1095713-set-pipefail-on-sleep-jobs | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Approve | ||
Review via email: mp+141792@code.launchpad.net |
Description of the change
While looking into the sleep test results Ara noticed that results that indicated a failure were being passed. This was due to the command and checkbox picking up the exit code for tee rather than sleep_test or fwts_test. This is fixed by adding 'set -o pipefail' where appropriate to ensure that the test exit code is what checkbox picks up.
To post a comment you must log in.
+1, makes sense