Mercurial > hg > nginx-tests
comparison access_log_none.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | 5d75938b2622 |
children |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
20 ############################################################################### | 20 ############################################################################### |
21 | 21 |
22 select STDERR; $| = 1; | 22 select STDERR; $| = 1; |
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 my $t = Test::Nginx->new()->has(qw/http/) | 25 my $t = Test::Nginx->new()->has(qw/http/)->plan(1) |
26 ->write_file_expand('nginx.conf', <<'EOF'); | 26 ->write_file_expand('nginx.conf', <<'EOF'); |
27 | 27 |
28 %%TEST_GLOBALS%% | 28 %%TEST_GLOBALS%% |
29 | 29 |
30 daemon off; | 30 daemon off; |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 EOF | 48 EOF |
49 | 49 |
50 $t->try_run('no escape=none')->plan(1); | 50 $t->run(); |
51 | 51 |
52 ############################################################################### | 52 ############################################################################### |
53 | 53 |
54 http_get('/?a="1 \\ ' . pack("n", 0x1b1c) . ' "&c=2'); | 54 http_get('/?a="1 \\ ' . pack("n", 0x1b1c) . ' "&c=2'); |
55 | 55 |