bind9/bin/tests/system/shutdown
Tom Krizek fd1d359965
Ensure named always terminates in the shutdown test
Previously, if an exception would happen inside the `with` block, the
error handler would wait indefinitely for the process to end. That would
never happen, since the termination signal was never sent to named and
the test would get stuck.

Using the try-finally block ensures that the named process is always
killed and any exception or errors will be handled gracefully.

(cherry picked from commit 836e6ed284)
2023-05-10 13:32:55 +02:00
..
ns1 Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
ns2 Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
resolver Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
clean.sh Add shell interpreter line where missing 2022-11-14 21:09:42 +01:00
prereq.sh Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
setup.sh Add shell interpreter line where missing 2022-11-14 21:09:42 +01:00
tests_shutdown.py Ensure named always terminates in the shutdown test 2023-05-10 13:32:55 +02:00