Bug 907600 - RFE: checkisomd5: 3 different return values for PASS, FAIL, and UNKNOWN
Summary: RFE: checkisomd5: 3 different return values for PASS, FAIL, and UNKNOWN
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: isomd5sum
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-04 19:57 UTC by Andre Robatino
Modified: 2013-09-27 17:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-27 17:15:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andre Robatino 2013-02-04 19:57:36 UTC
Description of problem:
The checkisomd5 man page currently shows only 2 return values, one for PASS, the other for FAIL or UNKNOWN:

EXIT STATUS
       Program  returns exit status 0 if the checksum is correct, or 1 if the
       checksum is incorrect, non-existent, or check was aborted.

If I'm not mistaken, this makes it difficult to fix bug 891548 (ESC during mediacheck drops to emergency shell rather than continuing with the install). I suggest a third return value for UNKNOWN, so the installer can continue with the install on either PASS or UNKNOWN.

Version-Release number of selected component (if applicable):
isomd5sum-1.0.9-2.fc18

Additional info:
Also see bug 839709 which requests a reassignment of the existing two return values. That's independent of this but should be considered when deciding what the return values should be.

Comment 1 Andre Robatino 2013-03-23 21:08:09 UTC
Verified that in 19 Alpha TC1, the mediacheck does the right thing for PASS, FAIL, and UNKNOWN. (For the latter, the Esc key lets the install continue.)


Note You need to log in before you can comment on or make changes to this bug.