Bug 667427

Summary: [RFE] function rlCleanUp
Product: [Fedora] Fedora Reporter: Juraj Marko <jmarko>
Component: beakerlibAssignee: Petr Muller <pmuller>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: azelinka, nlevinki, ohudlick, pmuller, psplicha, qa-errata-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-28 15:14:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 555302    
Bug Blocks:    

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 ***