| 
									
										
										
										
											2008-03-03 19:11:41 +00:00
										 |  |  | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-03-03 19:11:41 +00:00
										 |  |  | <!--Converted with LaTeX2HTML 2002-2-1 (1.71)
 | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | original version by:  Nikos Drakos, CBLU, University of Leeds | 
					
						
							|  |  |  | * revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan | 
					
						
							|  |  |  | * with significant contributions from: | 
					
						
							|  |  |  |   Jens Lippmann, Marek Rouchal, Martin Wilck and others --> | 
					
						
							|  |  |  | <HTML> | 
					
						
							|  |  |  | <HEAD> | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | <TITLE>Reporting a unit test failure bug</TITLE> | 
					
						
							|  |  |  | <META NAME="description" CONTENT="Reporting a unit test failure bug"> | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | <META NAME="keywords" CONTENT="clamdoc"> | 
					
						
							|  |  |  | <META NAME="resource-type" CONTENT="document"> | 
					
						
							|  |  |  | <META NAME="distribution" CONTENT="global"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-03-03 19:11:41 +00:00
										 |  |  | <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"> | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <LINK REL="STYLESHEET" HREF="clamdoc.css"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <LINK REL="previous" HREF="node15.html"> | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | <LINK REL="up" HREF="node9.html"> | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | <LINK REL="next" HREF="node17.html"> | 
					
						
							|  |  |  | </HEAD> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <BODY > | 
					
						
							| 
									
										
										
										
											2008-03-03 19:11:41 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | <DIV CLASS="navigation"><!--Navigation Panel--> | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | <A NAME="tex2html402" | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  |   HREF="node17.html"> | 
					
						
							|  |  |  | <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>  | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | <A NAME="tex2html398" | 
					
						
							|  |  |  |   HREF="node9.html"> | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>  | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | <A NAME="tex2html394" | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  |   HREF="node15.html"> | 
					
						
							|  |  |  | <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>  | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | <A NAME="tex2html400" | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  |   HREF="node1.html"> | 
					
						
							|  |  |  | <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>   | 
					
						
							|  |  |  | <BR> | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | <B> Next:</B> <A NAME="tex2html403" | 
					
						
							|  |  |  |   HREF="node17.html">Configuration</A> | 
					
						
							|  |  |  | <B> Up:</B> <A NAME="tex2html399" | 
					
						
							|  |  |  |   HREF="node9.html">Installation</A> | 
					
						
							|  |  |  | <B> Previous:</B> <A NAME="tex2html395" | 
					
						
							|  |  |  |   HREF="node15.html">Running unit tests</A> | 
					
						
							|  |  |  |    <B>  <A NAME="tex2html401" | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  |   HREF="node1.html">Contents</A></B>  | 
					
						
							|  |  |  | <BR> | 
					
						
							| 
									
										
										
										
											2008-03-03 19:11:41 +00:00
										 |  |  | <BR></DIV> | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | <!--End of Navigation Panel--> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | <H2><A NAME="SECTION00047000000000000000"> | 
					
						
							|  |  |  | Reporting a unit test failure bug</A> | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | </H2> | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | 	If <code>make check</code> says that some tests failed we encourage you to report a bug on our bugzilla: <TT><A NAME="tex2html12" | 
					
						
							|  |  |  |   HREF="http://bugs.clamav.net">http://bugs.clamav.net</A></TT>. | 
					
						
							|  |  |  | 	The information we need is (see also <TT><A NAME="tex2html13" | 
					
						
							|  |  |  |   HREF="http://clamav.net/bugs">http://clamav.net/bugs</A></TT>): | 
					
						
							|  |  |  | 	 | 
					
						
							|  |  |  | <UL> | 
					
						
							|  |  |  | <LI>The exact output from <code>make check</code>	  | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI>Output of <code>uname -mrsp</code>  | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI>your <code>config.log</code>	  | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI>The following files from the <code>unit-tests/</code> directory: | 
					
						
							|  |  |  | 		 | 
					
						
							|  |  |  | <UL> | 
					
						
							|  |  |  | <LI><code>test.log</code> | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI><code>clamscan.log</code> | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI><code>clamdscan.log</code> | 
					
						
							|  |  |  | 		 | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | </UL> | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI><code>/tmp/clamd-test.log</code> if it exists | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI>where and how you installed the check package | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI>Output of <code>pkg-config check --cflags --libs</code> | 
					
						
							|  |  |  | </LI> | 
					
						
							|  |  |  | <LI>Optionally if <code>valgrind</code> is available on your platform, the output of the following: | 
					
						
							|  |  |  | 	 <PRE> | 
					
						
							|  |  |  | $ make check | 
					
						
							|  |  |  | $ CK_FORK=no ./libtool --mode=execute valgrind unit_tests/check-clamav | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | </PRE> | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | </LI> | 
					
						
							|  |  |  | </UL> | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | <P> | 
					
						
							|  |  |  | <BR><HR> | 
					
						
							|  |  |  | <ADDRESS> | 
					
						
							|  |  |  | Tomasz Kojm | 
					
						
							| 
									
										
										
										
											2008-07-16 16:40:13 +00:00
										 |  |  | 2008-07-16 | 
					
						
							| 
									
										
										
										
											2007-02-12 12:50:17 +00:00
										 |  |  | </ADDRESS> | 
					
						
							|  |  |  | </BODY> | 
					
						
							|  |  |  | </HTML> |