comparison debug_connection_syslog.t @ 1046:a04323ab0622

Tests: use try_run() in debug_connection_syslog.t.
author Andrey Zelenkov <zelenkov@nginx.com>
date Wed, 05 Oct 2016 14:48:19 +0300
parents 882267679006
children 6620cd57a96a
comparison
equal deleted inserted replaced
1045:3667fe923239 1046:a04323ab0622
50 } 50 }
51 } 51 }
52 52
53 EOF 53 EOF
54 54
55 eval { 55 $t->try_run('no inet6 support')->plan(5);
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);
63 56
64 ############################################################################### 57 ###############################################################################
65 58
66 is(get_syslog('/', port(8081)), '', 'no debug_connection syslog 1'); 59 is(get_syslog('/', port(8081)), '', 'no debug_connection syslog 1');
67 is(get_syslog('/', port(8082)), '', 'no debug_connection syslog 2'); 60 is(get_syslog('/', port(8082)), '', 'no debug_connection syslog 2');