This file is indexed.

/usr/share/CUnit/CUnit-Run.xsl is in libcunit1 2.1-0.dfsg-9.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?xml version='1.0'?>
<xsl:stylesheet
	version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       
	<xsl:template match="CUNIT_TEST_RUN_REPORT">
		<html>
	 	 	<head>
	 	 		<title> CUnit - All Test Run Summary Report </title>
	 	 	</head>
		 	 	
	 	 	<body bgcolor="#e0e0f0">
	 	 		<xsl:apply-templates/>
	 	 	</body>
	 	 </html>
	</xsl:template>
	 	
	<xsl:template match="CUNIT_HEADER">
		<div align="center">
			<h3> <b> CUnit - A Unit testing framework for C. </b>
			<br/> <a href="http://cunit.sourceforge.net/"> http://cunit.sourceforge.net/ </a> </h3>
		</div>	
	</xsl:template>
	 	
	<xsl:template match="CUNIT_RESULT_LISTING">
		<table cols="4" width="90%" align="center">
			<tr>
			<td width="25%"> </td>
			<td width="25%"> </td>
			<td width="25%"> </td>
			<td width="25%"> </td>
			</tr>
			<xsl:apply-templates/>
		</table>	
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_SUITE">
		<xsl:apply-templates/>
	</xsl:template>
	
	<xsl:template match="SUITE_NAME">
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_SUITE_SUCCESS">
		<tr bgcolor="#f0e0f0">
			<td colspan="4"> Running Suite <xsl:value-of select="SUITE_NAME"/> </td>
		</tr>
		<xsl:apply-templates/>
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_GROUP">
		<xsl:apply-templates/>
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_GROUP_SUCCESS">
		<tr bgcolor="#f0e0f0">
			<td colspan="4"> Running Group <xsl:apply-templates/> </td>
		</tr>
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_TEST_RECORD">
		<xsl:apply-templates/>
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_TEST_SUCCESS">
		<tr bgcolor="#e0f0d0">
			<td> </td> <td colspan="2"> Running test <xsl:apply-templates/>... </td> <td bgcolor="#50ff50"> Passed </td>
		</tr>	
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_TEST_FAILURE">
		<tr bgcolor="#e0f0d0">
			<td> </td> <td colspan="2"> Running test <xsl:value-of select="TEST_NAME"/>... </td> <td bgcolor="#ff5050"> Failed </td>
		</tr>
		
		<tr>
			<td colspan="4" bgcolor="#ff9090">
				<table width="100%"> 
					<tr> <th width="15%"> File Name </th> <td width="50%" bgcolor="#e0eee0"> <xsl:value-of select="FILE_NAME"/> </td> <th width="20%"> Line Number </th> <td width="10%" bgcolor="#e0eee0"> <xsl:value-of select="LINE_NUMBER"/> </td>  </tr>
					<tr> <th width="15%"> Condition </th> <td colspan="3" width="85%" bgcolor="#e0eee0"> <xsl:value-of select="CONDITION"/> </td> </tr>
				</table>
			</td>	
		</tr>
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_SUITE_FAILURE">
		<tr>
			<td colspan="3" bgcolor="#f0b0f0">Running Suite <xsl:value-of select="SUITE_NAME"/>... </td>
			<td bgcolor="#ff7070"> <xsl:value-of select="FAILURE_REASON"/> </td>
		</tr>	
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_GROUP_FAILURE">
		<tr>
			<td colspan="3" bgcolor="#f0b0f0">Running Group <xsl:value-of select="GROUP_NAME"/>... </td>
			<td bgcolor="#ff7070"> <xsl:value-of select="FAILURE_REASON"/> </td>
		</tr>	
	</xsl:template>
	
	<xsl:template match="CUNIT_RUN_SUMMARY">
		<p/>
		<table width="90%" rows="5" align="center">
		<tr align="center" bgcolor="skyblue"> <th colspan="5"> Cumulative Summary for Run  </th> </tr>
		<tr> 
			<th width="20%" bgcolor="#ffffc0" align="center"> Type </th>
			<th width="20%" bgcolor="#ffffc0" align="center"> Total </th>
			<th width="20%" bgcolor="#ffffc0" align="center"> Run </th>
			<th width="20%" bgcolor="#ffffc0" align="center"> Succeeded </th>
			<th width="20%" bgcolor="#ffffc0" align="center"> Failed </th>
		</tr>
		<xsl:for-each select="CUNIT_RUN_SUMMARY_RECORD">
			<tr align="center" bgcolor="lightgreen">
				<td> <xsl:value-of select="TYPE" /> </td>
				<td> <xsl:value-of select="TOTAL" /> </td>
				<td> <xsl:value-of select="RUN" /> </td>
				<td> <xsl:value-of select="SUCCEEDED" /> </td>
				<td> <xsl:value-of select="FAILED" /> </td>
			</tr>
		</xsl:for-each>	
		</table>
	</xsl:template>
	
	<xsl:template match="CUNIT_FOOTER">
		<p/>
		<hr align="center" width="90%" color="red" />
		<h5 align="center"> 
	 		<xsl:apply-templates/>
	 	</h5>
	</xsl:template>
 	
</xsl:stylesheet>