This file is indexed.

/usr/share/php/tests/Horde_Compress/Horde/Compress/RarTest.php is in php-horde-compress 2.0.7-1.

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
<?php
/**
 * @category   Horde
 * @package    Compress
 * @subpackage UnitTests
 */

/**
 * @category   Horde
 * @package    Compress
 * @subpackage UnitTests
 */
class Horde_Compress_RarTest extends Horde_Test_Case
{
    public function testInvalidRarData()
    {
        $compress = Horde_Compress::factory('Rar');

        try {
            $compress->decompress('1234');
            $this->fail('Expected exception.');
        } catch (Horde_Compress_Exception $e) {}

        try {
            $compress->decompress(Horde_Compress_Rar::BLOCK_START . '1234');
            $this->fail('Expected exception.');
        } catch (Horde_Compress_Exception $e) {}

        $compress->decompress(Horde_Compress_Rar::BLOCK_START . '1234567');
    }

}