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

« back to all changes in this revision

Viewing changes to t/response/TestAPI/aplog.pm

  • 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:
31
31
 
32
32
    $rlog->info($package, " test in progress");
33
33
 
34
 
    my($file, $line) = Apache::LOG_MARK;
 
34
    my($file, $line) = Apache::Log::LOG_MARK;
35
35
    ok $file eq __FILE__;
36
36
    ok $line == __LINE__ - 2;
37
37
 
41
41
        ok sub { $slog->can($method) };
42
42
    }
43
43
 
44
 
    $s->log_serror(Apache::LOG_MARK, Apache::LOG_INFO|Apache::LOG_STARTUP,
 
44
    $s->log_serror(Apache::Log::LOG_MARK, Apache::LOG_INFO|Apache::LOG_STARTUP,
45
45
                   APR::SUCCESS, "This log message comes with no header");
46
46
 
47
47
    t_server_log_warn_is_expected();
49
49
                   APR::SUCCESS, "log_serror test ok");
50
50
 
51
51
    t_server_log_warn_is_expected();
52
 
    $s->log_serror(Apache::LOG_MARK, Apache::LOG_DEBUG,
 
52
    $s->log_serror(Apache::Log::LOG_MARK, Apache::LOG_DEBUG,
53
53
                   APR::EGENERAL, "log_serror test 2 ok");
54
54
 
55
55
    t_server_log_error_is_expected();
56
 
    $r->log_rerror(Apache::LOG_MARK, Apache::LOG_CRIT,
 
56
    $r->log_rerror(Apache::Log::LOG_MARK, Apache::LOG_CRIT,
57
57
                   APR::ENOTIME, "log_rerror test ok");
58
58
 
59
59
    t_server_log_error_is_expected();