Bug 1285804
Summary: | Beakerlib loses content of $LOG_FILE variable when running Bash function with rlRun keyword. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Radovan Drazny <rdrazny> |
Component: | beakerlib | Assignee: | Dalibor Pospíšil <dapospis> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 24 | CC: | azelinka, dapospis, jhutar, 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:16 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
Radovan Drazny
2015-11-26 14:03:02 UTC
We have recently changed all the function variables to local ones but in this particular case the variables still collide with user's code. I will prefix all the internal variables a put it into the documentation do future. Until that please workaround this by using another variable name, e.g. 'LOG_FILE2' or 'log_file'. This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase fixed by https://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=0fd534efe67d71d5e55bac15c48cf4e8d4a3f4fe Thank you Dalibor! yet another commit with documentation improvement https://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=8cf7fb638e3f32325b8349941b18dc5e36e78923 |