Bug 667427 - [RFE] function rlCleanUp
Summary: [RFE] function rlCleanUp
Keywords:
Status: CLOSED DUPLICATE of bug 842794
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Petr Muller
QA Contact:
URL:
Whiteboard:
Depends On: bl-journal-overhaul
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-05 15:22 UTC by Juraj Marko
Modified: 2016-09-20 02:07 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-06-28 15:14:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juraj Marko 2011-01-05 15:22:25 UTC
Description of problem:
Some functions like rlFileBackup rlServiceStart/Stop ... have a another function like rlFileRestore rlServiceRestore which should be call at the end of test. It will be nice to have 2 functions rlCleanUp and rlCleanUpAdd which rlCleanUp is called at the end of test and do all cleans which should be done and rlCleanUpAdd is a function which is called to add a clean function into the rlCleanUp. So the functions can be written so that they can add a clean routine when they are called. And this clean routine will be done whne rlCreanUp is called.

Comment 1 Petr Muller 2011-01-05 15:37:24 UTC
Oh hell, this would be wonderful. I really like it, and I think it is one of the things that should be included in the "new journal" (which is growing into something more like a "persistent storage" than a simple logging place).

I know I've been promising this for a long time, but I really should look into this. I will seriously try to find some time for this project.

Comment 2 Petr Muller 2013-06-28 15:14:47 UTC

*** This bug has been marked as a duplicate of bug 842794 ***


Note You need to log in before you can comment on or make changes to this bug.