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

« back to all changes in this revision

Viewing changes to t/filter/out_str_subreq_modperl.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:
 
1
use strict;
 
2
use warnings FATAL => 'all';
 
3
 
 
4
use Apache::Test;
 
5
use Apache::TestRequest;
 
6
use Apache::TestUtil;
 
7
 
 
8
plan tests => 1;
 
9
 
 
10
my $location = '/TestFilter__out_str_subreq_modperl';
 
11
 
 
12
my $content1    = "content\n";
 
13
my $content2    = "more content\n";
 
14
my $filter      = "filter\n";
 
15
my $subrequest  = "modperl subrequest\n";
 
16
 
 
17
my $expected = join '', $content1, $subrequest, $content2, $filter;
 
18
my $received = GET_BODY $location;
 
19
 
 
20
ok t_cmp($expected, $received, 
 
21
    "testing filter-originated lookup_uri() call to modperl-served URI");