diff options
| author | Tomi Ollila <tomi.ollila@iki.fi> | 2017-05-23 21:54:24 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-05-26 07:25:55 -0300 |
| commit | eb157f8841b93a0df241b815e30ac54ca81cc83d (patch) | |
| tree | d0865422441b7bb199018d1c6880fe10c6edc33b /bindings/python/docs | |
| parent | 523d2b50fcaae90cbe09975c1f1bc652ff521ec6 (diff) | |
test-lib.sh: add "atexit" functionality
New function at_exit_function registers given function to be called
at script termination.
Functions so registered are called in the reverse order of their
registration; no arguments are passed.
Function is called only once; re-adding with function name already
registered will remove previous registration.
New function rm_exit_function can be used to remove registration.
Modules (and possibly test-lib.sh functions) in future commits will
register such functions.
Diffstat (limited to 'bindings/python/docs')
0 files changed, 0 insertions, 0 deletions
