~ubuntu-branches/ubuntu/edgy/libapache2-mod-perl2/edgy

« back to all changes in this revision

Viewing changes to t/filter/both_str_req_add.t

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2004-08-19 06:23:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040819062348-jxl4koqbtvgm8v2t
Tags: 1.99.14-4
Remove the LFS CFLAGS, and build-dep against apache2-*-dev (>= 2.0.50-10)
as we're backing out of the apache2/apr ABI transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
use Apache::TestRequest;
6
6
use Apache::TestUtil;
7
7
 
8
 
plan tests => 1;
 
8
plan tests => 1, have_min_module_version('B::Deparse', 0.6);
9
9
 
10
10
my $data = join ' ', 'A'..'Z', 0..9;
11
11
my $expected = lc $data; # that's what the input filter does
12
12
$expected =~ s/\s+//g;   # that's what the output filter does
 
13
$expected .= "end";      # that's what the anon output filter does
13
14
my $location = '/TestFilter__both_str_req_add';
14
15
my $response = POST_BODY $location, content => $data;
15
16
ok t_cmp($expected, $response, "lc input and reverse output filters");