Changeset 1046:a04323ab0622 in nginx-tests


Ignore:
Timestamp:
10/05/16 11:48:19 (3 years ago)
Author:
Andrey Zelenkov <zelenkov@…>
Branch:
default
Phase:
public
Message:

Tests: use try_run() in debug_connection_syslog.t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debug_connection_syslog.t

    r974 r1046  
    5353EOF
    5454
    55 eval {
    56         open OLDERR, ">&", \*STDERR; close STDERR;
    57         $t->run();
    58         open STDERR, ">&", \*OLDERR;
    59 };
    60 plan(skip_all => 'no inet6 support') if $@;
    61 
    62 $t->plan(5);
     55$t->try_run('no inet6 support')->plan(5);
    6356
    6457###############################################################################
Note: See TracChangeset for help on using the changeset viewer.