~ubuntu-branches/ubuntu/quantal/nginx/quantal-updates

« back to all changes in this revision

Viewing changes to debian/modules/headers-more-nginx-module/t/phase.t

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry, Kartik Mistry
  • Date: 2011-09-26 10:17:04 UTC
  • mfrom: (4.2.38 sid)
  • Revision ID: package-import@ubuntu.com-20110926101704-x8pxngiujrmkxnn3
Tags: 1.1.4-2
[Kartik Mistry]
* debian/modules:
  + Updated nginx-upload-progress module, Thanks to upstream for fixing issue
    that FTBFS nginx on kFreeBSD-* archs.
  + Updated nginx-lua module to latest upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vi:filetype=perl
 
2
 
 
3
use lib 'lib';
 
4
use Test::Nginx::Socket;
 
5
 
 
6
plan tests => 3;
 
7
 
 
8
no_diff;
 
9
 
 
10
run_tests();
 
11
 
 
12
__DATA__
 
13
 
 
14
=== TEST 1: simple set (1 arg)
 
15
--- config
 
16
    location /foo {
 
17
        deny all;
 
18
        more_set_headers 'X-Foo: Blah';
 
19
    }
 
20
--- request
 
21
    GET /foo
 
22
--- response_headers
 
23
X-Foo: Blah
 
24
--- response_body_like: 403 Forbidden
 
25
--- error_code: 403
 
26