summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2017-02-22 12:31:06 +0100
committerKalle Sommer Nielsen <kalle@php.net>2017-02-22 12:31:06 +0100
commitf9959ee7c2004919675d9cdc7c82f886f099f15f (patch)
treef23eafdb606c1e8f4b3c89283c9c1a824c480658 /tests/basic
parentdbdb0819b24997ca70fe5609489a6bf828f1feba (diff)
downloadphp-git-f9959ee7c2004919675d9cdc7c82f886f099f15f.tar.gz
Change PHP_OS_FAMILY slightly
* PHP_OS_FAMILY is now a macro, to allow extensions to take advantage of it, it is defined in php.h * Values are not upper-case-first, not always uppercase. Windows is no longer just "Win", if we want the short version for testing then PHP_OS is always WINNT anyway
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/req60524-win.phpt2
-rw-r--r--tests/basic/req60524.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/req60524-win.phpt b/tests/basic/req60524-win.phpt
index 8eb38a528c..26fa9d9c5c 100644
--- a/tests/basic/req60524-win.phpt
+++ b/tests/basic/req60524-win.phpt
@@ -4,7 +4,7 @@ Req #60524 (Specify temporary directory)
sys_temp_dir=C:\Windows
--SKIPIF--
<?php
-if(PHP_OS_FAMILY !== "WIN")
+if(PHP_OS_FAMILY !== "Windows")
die('skip Run only on Windows');
?>
--FILE--
diff --git a/tests/basic/req60524.phpt b/tests/basic/req60524.phpt
index e4999e1a20..670940598a 100644
--- a/tests/basic/req60524.phpt
+++ b/tests/basic/req60524.phpt
@@ -4,7 +4,7 @@ Req #60524 (Specify temporary directory)
sys_temp_dir=/path/to/temp/dir
--SKIPIF--
<?php
-if(PHP_OS_FAMILY === "WIN") {
+if(PHP_OS_FAMILY === "Windows") {
die('skip non-windows only test');
}
?>