1 |
commit: 4f39764c49369c219abc8412eeb9e0b77c137e2e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 3 12:02:37 2012 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 3 12:02:37 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=4f39764c |
7 |
|
8 |
Fix CLI output exit status. |
9 |
|
10 |
--- |
11 |
pmstestsuite/output/cli.py | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/pmstestsuite/output/cli.py b/pmstestsuite/output/cli.py |
15 |
index d07fbfa..540abaf 100644 |
16 |
--- a/pmstestsuite/output/cli.py |
17 |
+++ b/pmstestsuite/output/cli.py |
18 |
@@ -29,6 +29,6 @@ class CLIOutput(OutputModule): |
19 |
print('-> %s: %s [%s%s]' % (a.name, str(a), |
20 |
'OK' if a else 'FAILED', |
21 |
'/UNDEF' if a.undefined else '')) |
22 |
- ret &= bool(failed) |
23 |
+ ret &= not bool(failed) |
24 |
|
25 |
return ret |