php-src/ext/posix/tests/posix_uname_basic.phpt
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

28 lines
485 B
PHP

--TEST--
Test posix_uname() function : basic functionality
--SKIPIF--
<?php
if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
?>
--FILE--
<?php
echo "Basic test of POSIX uname function\n";
$uname = posix_uname();
unset($uname['domainname']);
print_r($uname);
?>
===DONE====
--EXPECTF--
Basic test of POSIX uname function
Array
(
[sysname] => %s
[nodename] => %s
[release] => %s
[version] => %s
[machine] => %s
)
===DONE====