aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-01-03 13:02:37 +0100
committerMichał Górny <mgorny@gentoo.org>2012-01-03 13:02:37 +0100
commit4f39764c49369c219abc8412eeb9e0b77c137e2e (patch)
tree1265b051bdb3c3b178e2be8fb253537de931b840
parentAdd exception handling within main loop callbacks. (diff)
downloadpms-test-suite-4f39764c49369c219abc8412eeb9e0b77c137e2e.tar.gz
pms-test-suite-4f39764c49369c219abc8412eeb9e0b77c137e2e.tar.bz2
pms-test-suite-4f39764c49369c219abc8412eeb9e0b77c137e2e.zip
Fix CLI output exit status.
-rw-r--r--pmstestsuite/output/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pmstestsuite/output/cli.py b/pmstestsuite/output/cli.py
index d07fbfa..540abaf 100644
--- a/pmstestsuite/output/cli.py
+++ b/pmstestsuite/output/cli.py
@@ -29,6 +29,6 @@ class CLIOutput(OutputModule):
print('-> %s: %s [%s%s]' % (a.name, str(a),
'OK' if a else 'FAILED',
'/UNDEF' if a.undefined else ''))
- ret &= bool(failed)
+ ret &= not bool(failed)
return ret