Bug 295746

Summary: need test for proper exit status for all command line tools
Product: [Technology] RTSC (ARCHIVED) Reporter: Dave Russo <d-russo>
Component: ToolsAssignee: Joseph Cusano <jcusano>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P3 CC: dfriedland, rowlands
Version: unspecifiedKeywords: test
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.40

Description Dave Russo CLA 2009-11-20 12:25:31 EST
The command line tools configuro, repoman, cdoc, and check all need to provide a non-zero exit status when they fail.
Comment 1 Joseph Cusano CLA 2010-02-16 12:41:12 EST
Call cmdr.error() on failure in check, path and repoman. Implemented in xdctools-d14.
Comment 2 Dave Russo CLA 2010-04-06 14:03:34 EDT
This bug is a request for regression tests that verify proper non-zero exit status for failures in the configuro, repoman, cdoc, path, and check commands.

IF it is possible to "prove" that errors/exceptions will always result in non-zero exit status (say because all ICmd based commands must return an exit status and ICmd ensures that the command's exit status is that which is returned by the core command), we can reject this bug.  Otherwise, we need regressions to manually check exit status.