Red Hat Bugzilla – Bug 988747
[RFE] Beakerlib functions rlAssertExists and rlAssertNotExists should differentiate between file and directory
Last modified: 2016-09-19 22:11:06 EDT
Created attachment 778721 [details]
Patch for beakerlib to modify rlAssertExists and rlAssertNotExists output message
Description of problem:
Since functions rlAssertExists and rlAssertNotExists work well with directories, we should modify the output message properly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a directory in test
2. Run rlAssertExists with directory path as argument
3. Run rlAssertNotExists with directory path as argument
File $dir should exist
File $dir should not exist
Directory $dir should exist
Directory $dir should not exist
Created attachment 778722 [details]
Added simple beakerlib test
This does not need to be private
This brough 4 fails in the suite. Note to myself: test even trivial stuff.
The FILE variable should have been local, or it leaks outside, rewriting possible user setting.
beakerlib-1.9-1.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing beakerlib-1.9-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
beakerlib-1.9-2.fc20 has been submitted as an update for Fedora 20.
Please consider the package fixing this bug available in Fedora stable repos once bz1116308 is closed and RHEL stable repos once bz1116317 is closed.
beakerlib-1.9-3.fc20 has been submitted as an update for Fedora 20.
beakerlib-1.9-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.