comparison stream_variables.t @ 1047:ef795982f940

Tests: skip certain tests for lack of inet6 support as well.
author Andrey Zelenkov <zelenkov@nginx.com>
date Wed, 05 Oct 2016 15:21:58 +0300
parents 41139d6f8b7b
children cf14cfe9ec8c
comparison
equal deleted inserted replaced
1046:a04323ab0622 1047:ef795982f940
74 } 74 }
75 } 75 }
76 76
77 EOF 77 EOF
78 78
79 $t->try_run('no stream return')->plan(8); 79 $t->try_run('no stream return and/or inet6 support')->plan(8);
80 80
81 ############################################################################### 81 ###############################################################################
82 82
83 chomp(my $hostname = lc `hostname`); 83 chomp(my $hostname = lc `hostname`);
84 like(stream()->read(), qr/^\d+:[\d.]+:$hostname:\d+:0$/, 'vars'); 84 like(stream()->read(), qr/^\d+:[\d.]+:$hostname:\d+:0$/, 'vars');