Skip to content

Commit b811bb3

Browse files
committed
added skip condition for powershell requirement of test
1 parent 0730fc8 commit b811bb3

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)