Add a testcase that checks if the TarFile constructor successfully
closes the internal file object in case of an error (issue #7341).
1 file changed