xref: /PHP-5.3/ext/standard/tests/file/bug41874.phpt (revision 02fe2895)
1--TEST--
2bug #41874 (Separate STDOUT and STDERR in exec functions)
3--SKIPIF--
4<?php
5if(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');
10echo "$result";
11system('cd 1:\non_existant; dir nonexistant');
12?>
13--EXPECT--
14The system cannot find the drive specified.
15The system cannot find the drive specified.
16