commit | 527e21ec4de92870f1b4c88b9465dc010e926260 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Sat Apr 27 23:15:44 2013 +0200 |
committer | Mark Wielaard <mjw@redhat.com> | Mon Apr 29 19:30:18 2013 +0200 |
tree | 848dff44a701c279bc67c636eefc21f08cdbc01f | |
parent | b0f202e15fc6ab34381c0b96325221aab874250d [diff] |
tests: Tests that override EXIT (0) trap need to cleanup themselves. Since trap handlers don't nest tests that install their own EXIT (0) trap handler need to cleanup themselves. Add an exit_cleanup helper function to test-subr.sh that can be used by run-native-test.sh to exit cleanly. Signed-off-by: Mark Wielaard <mjw@redhat.com>