Autopackage tests will not signal failure when failing

Bug #1265853 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Critical
Zygmunt Krynicki

Bug Description

As discovered by Michael Terry the DEP8 tests are not going to fail when actual problem is encountered:
"""
2) The dep8 test will never fail, because the test run is inside an if condition. You should change the following lines:

if plainbox self-test -u >/dev/null 2>&1; then
    echo "unit-tests: OK"
fi

to just (which works as intended because of the set -e):

plainbox self-test -u >/dev/null 2>&1
echo "unit-tests: OK"
"""

Zygmunt Krynicki (zyga)
Changed in checkbox:
status: New → In Progress
assignee: nobody → Zygmunt Krynicki (zkrynicki)
importance: Undecided → Critical
tags: added: debian plainbox
Revision history for this message
Zygmunt Krynicki (zyga) wrote :
Changed in checkbox:
status: In Progress → Fix Committed
Zygmunt Krynicki (zyga)
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.