comparison autoindex_format.t @ 568:907e89fba9c3

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Sun, 03 May 2015 12:45:09 +0300
parents 7fa91726cc7d
children 2cd00179f4b2
comparison
equal deleted inserted replaced
567:22bade4c7e12 568:907e89fba9c3
23 select STDERR; $| = 1; 23 select STDERR; $| = 1;
24 select STDOUT; $| = 1; 24 select STDOUT; $| = 1;
25 25
26 plan(skip_all => 'no symlinks on win32') if $^O eq 'MSWin32'; 26 plan(skip_all => 'no symlinks on win32') if $^O eq 'MSWin32';
27 27
28 my $t = Test::Nginx->new()->has(qw/http autoindex/) 28 my $t = Test::Nginx->new()->has(qw/http autoindex/)->plan(37)
29 ->write_file_expand('nginx.conf', <<'EOF'); 29 ->write_file_expand('nginx.conf', <<'EOF');
30 30
31 %%TEST_GLOBALS%% 31 %%TEST_GLOBALS%%
32 32
33 daemon off; 33 daemon off;
75 75
76 mkdir($d . '/utf8'); 76 mkdir($d . '/utf8');
77 $t->write_file('utf8/test-utf8-' . ("\xd1\x84" x 3), ''); 77 $t->write_file('utf8/test-utf8-' . ("\xd1\x84" x 3), '');
78 $t->write_file('utf8/test-utf8-' . ("\xd1\x84" x 45), ''); 78 $t->write_file('utf8/test-utf8-' . ("\xd1\x84" x 45), '');
79 79
80 $t->try_run('no autoindex_format')->plan(37); 80 $t->run();
81 81
82 ############################################################################### 82 ###############################################################################
83 83
84 my ($r, $mtime, $data); 84 my ($r, $mtime, $data);
85 85