Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 697296 Details for
Bug 905005
[RFE]: rlRun should print non-zero return value, even if it is expected
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
rlRun non-zero return value fix
0001-rlRun-Non-zero-return-value-is-printed-even-if-test-.patch (text/plain), 761 bytes, created by
Filip Holec
on 2013-02-14 17:37:00 UTC
(
hide
)
Description:
rlRun non-zero return value fix
Filename:
MIME Type:
Creator:
Filip Holec
Created:
2013-02-14 17:37:00 UTC
Size:
761 bytes
patch
obsolete
>From 7b45ac3ba61718f960ce16effc6cd518218becfb Mon Sep 17 00:00:00 2001 >From: Filip Holec <fholec@redhat.com> >Date: Thu, 14 Feb 2013 18:27:27 +0100 >Subject: [PATCH] rlRun: Non-zero return value is printed even if test passes (BZ#905005) > >--- > src/testing.sh | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > >diff --git a/src/testing.sh b/src/testing.sh >index e7cebbb..af042ae 100644 >--- a/src/testing.sh >+++ b/src/testing.sh >@@ -56,7 +56,11 @@ result function is included as well. > . $BEAKERLIB/journal.sh > > __INTERNAL_LogAndJournalPass() { >- rljAddTest "$1" "PASS" >+ if [ "$expected_orig" == "0" ]; then >+ rljAddTest "$1" "PASS" >+ else >+ rljAddTest "$1 $2" "PASS" >+ fi > } > > __INTERNAL_LogAndJournalFail() { >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 905005
:
697296
|
697319