30.7.3 Examples

Examples of usage of dotest-clean-files:

function mytest-1.1 () {
    local dir=$(dotest-mkdir a/b)
    local result=

    ...
    result=...
    dotest-equal 123 $result
    dotest-clean-files
}
function mytest-1.2 () {
    local dir=$(dotest-mkfile file.ext)
    local result=

    ...
    result=...
    dotest-equal 123 $result
    dotest-clean-files
}

dotest mytest-
dotest-final-report

This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.