Bug 949584

Summary: libraries.sh: better origin extraction
Product: [Fedora] Fedora Reporter: Dalibor Pospíšil <dapospis>
Component: beakerlibAssignee: Petr Muller <pmuller>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ohudlick, pmuller, psplicha
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: beakerlib-1.7-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 950473 (view as bug list) Environment:
Last Closed: 2013-05-22 03:17:54 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:
Attachments:
Description Flags
better origin extraction
none
better-extraction-of-origin-for-traversing none

Description Dalibor Pospíšil 2013-04-08 14:42:26 UTC
Created attachment 732703 [details]
better origin extraction

Current implementation of traversing for libraries has limitation in calling from the directory with the test.
Attached patch solves this so the rlImport can be called between pushd and popd statements. The only requirement is to source beakerlib at the very beginning of the test.

Comment 1 Dalibor Pospíšil 2013-04-09 07:31:59 UTC
Created attachment 733012 [details]
better-extraction-of-origin-for-traversing

Or even better solution which doest the extraction only once. Not everytime the library is searched.

Comment 2 Petr Muller 2013-04-09 11:37:11 UTC
Thanks. I've applied the second patch, and will push it to upstream soon.

Comment 4 Fedora Update System 2013-04-30 15:13:49 UTC
beakerlib-1.7-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/beakerlib-1.7-1.fc19

Comment 5 Fedora Update System 2013-04-30 20:06:20 UTC
Package beakerlib-1.7-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing beakerlib-1.7-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7067/beakerlib-1.7-1.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-05-22 03:17:54 UTC
beakerlib-1.7-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.