Subject: | Impossible to use plan skip_all if cleanup is required |
Test::TCP wraps the call to the client in an eval block, however it does
not trap exit. This means if after connecting I do something like:
plan skip_all => "Server version too old for tests";
The cleanup is not run (because Test::Builder::skip_all calls exit).
Ideally Test::TCP should trap exit and perform cleanup(s) (or a cleanup
queue run from END, or any similar solution would be fine).
Thanks,
David