[Process] Skip false-positive test on Windows/appveyor

This commit is contained in:
Nicolas Grekas 2017-12-22 23:00:09 +01:00
parent 21dca38c00
commit 1aa983734c

View File

@ -54,6 +54,10 @@ class ProcessTest extends TestCase
*/ */
public function testInvalidCwd() public function testInvalidCwd()
{ {
if ('\\' === DIRECTORY_SEPARATOR) {
$this->markTestSkipped('False-positive on Windows/appveyor.');
}
// Check that it works fine if the CWD exists // Check that it works fine if the CWD exists
$cmd = new Process('echo test', __DIR__); $cmd = new Process('echo test', __DIR__);
$cmd->run(); $cmd->run();