Annotation of embedaddon/php/ext/standard/tests/file/bug41874_2.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: bug #41874 (Separate STDOUT and STDERR in exec functions)
3: --CREDITS--
4: Venkat Raman Don
5: --SKIPIF--
6: <?php
7: if(substr(PHP_OS, 0, 3) != 'WIN' ) {
8: die('skip windows only test');
9: }
10: ?>
11: --FILE--
12: <?php
13: $result = exec('cd 1:\\non_existant; dir nonexistant');
14: echo "$result";
15: ?>
16: --EXPECT--
17: The system cannot find the drive specified.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>