1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00

added skip condition for powershell requirement of test

This commit is contained in:
Christoph M. Becker
2015-06-27 15:02:52 +02:00
parent 0730fc8830
commit b811bb3920

View File

@@ -3,7 +3,9 @@ Check cli_process_title support in Windows
--SKIPIF--
<?php
if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN')
die("skip");
die("skip this test is for Windows platforms only");
if (shell_exec('PowerShell -Help') === NULL)
die("skip this test requires powershell.exe");
?>
--FILE--
<?php