Annotation of embedaddon/php/ext/standard/tests/file/bug41874.phpt, revision 1.1.1.1

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
                      9: $result = exec('cd 1:\non_existant; dir nonexistant');
                     10: echo "$result";
                     11: system('cd 1:\non_existant; dir nonexistant');
                     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>