]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: avoid overriding an already existing EXIT handler 23939/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 7 Jul 2022 18:02:06 +0000 (20:02 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 7 Jul 2022 18:17:34 +0000 (20:17 +0200)
commit0a62b8f7057239cd9831a83f25086fca8f3353a7
tree6a409f7123575229900673ef725273dd9c6a3219
parentb92c3df242f9a99cb628336e2096a4716cdabc1e
test: avoid overriding an already existing EXIT handler

TEST-70 specified its own EXIT handler, which replaced the
`cleanup_loopdev` handler, so the loop device was always hanging around
once this test was run. Let's use the new `add_at_exit_handler()` stuff
to mitigate this.
test/TEST-70-TPM2/test.sh