]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: introduce ts_cleanup_on_exit()
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 31 Mar 2015 08:54:56 +0000 (10:54 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Apr 2015 10:37:03 +0000 (12:37 +0200)
commitfd427f94bc402a2b32e438083751615e817afeed
tree4aef35be52c396ca1dc9ac2acf7cdf81a0e2ec41
parent07dbddf2ea826fbb4f0409cdf2b96b1dac3ba3df
tests: introduce ts_cleanup_on_exit()

ts_cleanup_on_exit() is always called on exit, e.g. after ts_skip,
ts_die, ts_finalize ...

A first usage example is the cleanup of TS_SUID_PROGS which is now also done
on ts_skip. Later we want to fix some left loop devices.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/functions.sh