summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/cli/tests/cli_process_title_windows.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/cli/tests/cli_process_title_windows.phpt b/sapi/cli/tests/cli_process_title_windows.phpt
index 472f9c10fe..12eb80756d 100644
--- a/sapi/cli/tests/cli_process_title_windows.phpt
+++ b/sapi/cli/tests/cli_process_title_windows.phpt
@@ -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