Hi,

is there a way to check it an expected line in error_log has arrived?

If not is it worth to add something similar to the following 2 functions to 
Apache::TestUtil.

========================================================
{
  my $f;
  sub t_start_error_log_watch {
    my $name=File::Spec->catfile
      ( Apache::Test::vars->{serverroot},
        Apache::Test::config->{httpd_defines}->{DEFAULT_ERRORLOG} );
    open $f, "$name" or die "ERROR: Cannot open $name: $!\n";
    seek $f, 0, 2;          # seek to EOF
  }

  sub t_finish_error_log_watch {
    local $/="\n";
    my @lines=<$f>;
    undef $f;
    return @lines;
  }
}
========================================================

Torsten

Attachment: pgp73P6TPuzvh.pgp
Description: PGP signature

Reply via email to