[svn:mod_parrot] r239 - mod_parrot/trunk/t

[email protected]
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Tue Aug 28 09:22:37 2007
New Revision: 239

Modified:
   mod_parrot/trunk/t/01RequestRec.t

Log:
skip log_rerror test if tracing is detected


Modified: mod_parrot/trunk/t/01RequestRec.t
==============================================================================
--- mod_parrot/trunk/t/01RequestRec.t	(original)
+++ mod_parrot/trunk/t/01RequestRec.t	Tue Aug 28 09:22:37 2007
@@ -54,7 +54,10 @@
     close(ERRORLOG);
     $log = $tmp[-1];
 }
-like($log, qr/testing/, 'emit a test log message');
+SKIP: {
+    skip "Parrot tracing detected", 1 if $log =~ /^\*\*\*/;
+    like($log, qr/testing/, 'emit a test log message');
+}
 
 # Apache::RequestRec->RequestRec-auth_type
 $res = GET '/parrot-test/RequestRec-auth_type',
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.