Bug 1145754

Summary: xzgrep return bad exit code
Product: Red Hat Enterprise Linux 7 Reporter: Radka Brychtova <rskvaril>
Component: xzAssignee: Pavel Raiskup <praiskup>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: high    
Version: 7.1   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-23 16:35:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radka Brychtova 2014-09-23 16:12:42 UTC
Description of problem:
in case "xzgrep -l text *.xz > out should be returned 0 like in RHEL6, but now it is returned 1

How reproducible:
100%

Steps to Reproduce:
1.xzgrep -l text *.xz > out
2.echo $?


Actual results:
1

Expected results:
0

Additional info:
RHEL6
:: [   PASS   ] :: Running 'xzgrep -l text *.xz > out' (Expected 0, got 0)
:: [   PASS   ] :: File 'out' should not contain 'No such file' 
:: [   PASS   ] :: File 'out' should contain 'test2.xz'

Comment 1 Radka Brychtova 2014-09-23 16:35:27 UTC

*** This bug has been marked as a duplicate of bug 1109123 ***