Bug 1314700

Summary: [RFE] use better file name for rlRun's log
Product: [Fedora] Fedora Reporter: Dalibor Pospíšil <dapospis>
Component: beakerlibAssignee: Dalibor Pospíšil <dapospis>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: azelinka, dapospis, jprokes, mkyral, ohudlick
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: beakerlib-1.13-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-16 08:48:24 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:

Description Dalibor Pospíšil 2016-03-04 09:43:27 UTC
Description of problem:
Using for example rlRun -s creates tmp file with default name template. While using it in rlAssertGrep it is not obvious that the pasred file was produced by rlRun. It might be any temp file. This information cannot be retrieved from the beakerlib log. Also it might be useful if rlRun itself logs into which file it saves the output so it can be pared with respective greps.

Version-Release number of selected component (if applicable):
beakerlib-1.11-1.el6eso.noarch

How reproducible:
100%

Steps to Reproduce:
1. rlRun -s 'echo test'
2. rlAsserGrep test $rlRun_LOG

Actual results:
rlRun_LOG contains something like /var/tmp/tmp.39I9oSu5o3

Expected results:
rlRun_LOG should look like /var/tmp/rlRun_LOG.39I9oSu5o3