summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug41874_2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/bug41874_2.phpt')
-rw-r--r--ext/standard/tests/file/bug41874_2.phpt17
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/standard/tests/file/bug41874_2.phpt b/ext/standard/tests/file/bug41874_2.phpt
new file mode 100644
index 0000000..5d7b7ca
--- /dev/null
+++ b/ext/standard/tests/file/bug41874_2.phpt
@@ -0,0 +1,17 @@
+--TEST--
+bug #41874 (Separate STDOUT and STDERR in exec functions)
+--CREDITS--
+Venkat Raman Don
+--SKIPIF--
+<?php
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {
+ die('skip windows only test');
+}
+?>
+--FILE--
+<?php
+$result = exec('cd 1:\\non_existant; dir nonexistant');
+echo "$result";
+?>
+--EXPECT--
+The system cannot find the drive specified. \ No newline at end of file