tests: fix skipif \!utsname.domainname
authorMichael Wallner <mike@php.net>
Wed, 19 Oct 2016 07:19:15 +0000 (07:19 +0000)
committerMichael Wallner <mike@php.net>
Wed, 19 Oct 2016 07:19:15 +0000 (07:19 +0000)
tests/uname/uname001.phpt

index b04a26d11ecd762b9bac2dc5e9dcba3c561354b8..88aeb8c83ff40bcf924d1b5e582018bd0ade1d6c 100644 (file)
@@ -6,6 +6,7 @@ psi.directory={PWD}/../../psi.d:{PWD}
 <?php
 extension_loaded("psi") or die("skip - need ext/psi");
 PHP_OS === "Linux" or die("skip - only for Linux");
+defined("psi\\SIZEOF_STRUCT_UTSNAME_DOMAINNAME") or die("skip - only for systems with utsname.domainname");
 ?>
 --FILE--
 ===TEST===