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