/usr/share/php/test/Net_IPv4/tests/AllTests.php is in php-net-ipv4 1.3.4-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 | <?php
if (!defined('PHPUNIT_MAIN_METHOD')) {
define('PHPUNIT_MAIN_METHOD', 'Net_IPv4_AllTests::main');
}
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'IPv4Test.php';
class Net_IPv4_AllTests {
public static function main() {
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite();
$suite->addTestSuite('IPv4Test');
return $suite;
}
}
if (PHPUNIT_MAIN_METHOD == 'Net_IPv4_AllTests::main') {
Net_IPv4_AllTests::main();
}
|