summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2015-06-27 15:02:52 +0200
committerChristoph M. Becker <cmb@php.net>2015-06-27 15:02:52 +0200
commitb811bb3920168c19aa7cc9fa51cbad0d3d127dcc (patch)
treea5c5176b868bf7cf36b898ac3d83739730d73f60
parent0730fc88306154fa770ab4558be7cb4d028b1e74 (diff)
downloadphp-git-b811bb3920168c19aa7cc9fa51cbad0d3d127dcc.tar.gz
added skip condition for powershell requirement of test
-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