# HG changeset patch # User Andrey Zelenkov # Date 1475668099 -10800 # Node ID a04323ab06221b1ab72b16f072005c799ef8af60 # Parent 3667fe9232397bf87566b9f8617fcc1ec096e69f Tests: use try_run() in debug_connection_syslog.t. diff --git a/debug_connection_syslog.t b/debug_connection_syslog.t --- a/debug_connection_syslog.t +++ b/debug_connection_syslog.t @@ -52,14 +52,7 @@ http { EOF -eval { - open OLDERR, ">&", \*STDERR; close STDERR; - $t->run(); - open STDERR, ">&", \*OLDERR; -}; -plan(skip_all => 'no inet6 support') if $@; - -$t->plan(5); +$t->try_run('no inet6 support')->plan(5); ###############################################################################