| Summary: | [RFE] rlAssertNotDiffer verbose output if files differ | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Jež <djez> |
| Component: | beakerlib | Assignee: | Dalibor Pospíšil <dapospis> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | azelinka, dapospis, mkyral, muller |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
David Jež
2016-10-19 15:22:51 UTC
The files can also be kind of binary so the diff should not be printed by default. I propose adding an option which would cause the output to be printed. I can not see any problem with binaries, AFAIK diff -u never print any binary output, see e.g.: $ diff -u David.jpg Image.ashx.jpg Binary files David.jpg and Image.ashx.jpg differ $ But in some case output could be really long... So add an option like -v for '... diff | head -200 ' and -vv for diff without head or something like that would be OK. (In reply to David Jež from comment #2) > But in some case output could be really long... So add an option like -v for > '... diff | head -200 ' and -vv for diff without head or something like that > would be OK. This sound reasonable to me. Lets wait for others to express their acks. Personally I've always considered rlAssert*Diff to be useless, not having any advantage over rlRun "diff ...". So adding few more useful features to it would, in my eyes, at least make it worth keeping around. I deem the feature quite useful -> ack+ |