Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
--SKIPIF--
3
<?php
4
if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test is for non-Windows platforms only");
5
?>
6
--FILE--
7
<?php
8
 
9
require_once 'tests-config.php';
10
 
11
require_once 'System/Daemon.php';
12
require_once 'System/Daemon/OS.php';
13
 
14
$os = System_Daemon_OS::factory();
15
$details = $os->getDetails();
16
 
17
echo count($details);
18
 
19
?>
20
--EXPECT--
21
2