Remove a check from Test_InheritNothing so it works with CREATE_NO_WINDOW

* With this change, RemoteWorker can default to CREATE_NO_WINDOW instead
   of CREATE_NEW_CONSOLE, and the tests all still pass.
This commit is contained in:
Ryan Prichard 2015-10-23 13:01:19 -05:00
parent 2b146e9173
commit bbbea127e9

View File

@ -176,7 +176,6 @@ static void Test_InheritNothing() {
CHECK(c.getStdout().value() == p.getStdout().value());
CHECK(c.getStderr().value() == p.getStderr().value());
// Verify a console is attached.
CHECK(c.consoleWindow() != NULL);
CHECK(c.openConin().value() != INVALID_HANDLE_VALUE);
CHECK(c.openConout().value() != INVALID_HANDLE_VALUE);
CHECK(c.newBuffer().value() != INVALID_HANDLE_VALUE);