Skip to content

Commit 1ec6ff0

Browse files
committed
Merge branch 'PHP-5.6'
* PHP-5.6: added skip condition for powershell requirement of test
2 parents 486d59d + b811bb3 commit 1ec6ff0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sapi/cli/tests/cli_process_title_windows.phpt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Check cli_process_title support in Windows
33
--SKIPIF--
44
<?php
55
if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN')
6-
die("skip");
6+
die("skip this test is for Windows platforms only");
7+
if (shell_exec('PowerShell -Help') === NULL)
8+
die("skip this test requires powershell.exe");
79
?>
810
--FILE--
911
<?php

0 commit comments

Comments
 (0)