Create isolated file system area for test execution.
More...
|
def | __init__ |
|
def | setup |
| Creates a temporary directory in /tmp and creates the following in that area: More...
|
|
def | teardown |
| Unmounts and deletes previously ceated temporary directories from setup. More...
|
|
def | __init__ |
|
def | setup |
| Creates a temporary directory in /tmp and creates the following in that area: More...
|
|
def | teardown |
| Unmounts and deletes previously ceated temporary directories from setup. More...
|
|
Create isolated file system area for test execution.
- Note
- The interface looks like a plugin but it is not loaded as a plugin.
def etr.tools.fsisolation.FsIsolation.__init__ |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
def etr.tools.fsisolation.FsIsolation.__init__ |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
def etr.tools.fsisolation.FsIsolation.setup |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
Creates a temporary directory in /tmp and creates the following in that area:
- create workdir roots
- mount $PREFIX to prefix with overlay fs
- mount $DATAROOT to dataroot
- If $PREFIX is loaded, also populate the ctx.env environment using lmod loader activation script such that any test runner will use the overlay FS.
def etr.tools.fsisolation.FsIsolation.setup |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
Creates a temporary directory in /tmp and creates the following in that area:
- create workdir roots
- mount $PREFIX to prefix with overlay fs
- mount $DATAROOT to dataroot
- If $PREFIX is loaded, also populate the ctx.env environment using lmod loader activation script such that any test runner will use the overlay FS.
def etr.tools.fsisolation.FsIsolation.teardown |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
Unmounts and deletes previously ceated temporary directories from setup.
def etr.tools.fsisolation.FsIsolation.teardown |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
Unmounts and deletes previously ceated temporary directories from setup.
list etr.tools.fsisolation.FsIsolation.env_blacklist = ["_", "SHLVL", "PWD"] |
|
static |
string etr.tools.fsisolation.FsIsolation.workdir = ".workdir" |
|
static |
The documentation for this class was generated from the following files: