zopectl always exits with status 0
Bug #143813 reported by
Paul Winkler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
bin/zopectl always exits with status 0, even when something is obviously wrong. This makes it less useful for scripting tasks. Examples:
pw@kermit $ ./bin/zopectl run nosuchfile
Traceback (most recent call last):
File "<string>", line 1, in ?
IOError: [Errno 2] No such file or directory: 'nosuchfile'
pw@kermit $ echo $?
0
pw@kermit $ ./bin/zopectl test -m error
(SNIP)
Ran 2 tests with 1 failures and 1 errors in 0.031 seconds.
pw@kermit contentservices_dev $ echo $?
0
Changed in zope2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed on trunk and the 2.11, 2.10, and 2.9 branches.
I updated doc/CHANGES.txt on the branches, but not the trunk.