If Test_CreateProcess_DefaultInherit fails, don't ASSERT-fail.

This commit is contained in:
Ryan Prichard 2015-10-25 16:55:30 -05:00
parent f4a3bd1743
commit 9260d0b54e

View File

@ -54,7 +54,9 @@ static void Test_CreateProcess_DefaultInherit() {
ObjectSnap snap;
for (int i = 0; i < 3; ++i) {
CHECK(snap.eq(ph[i], ch[i]));
CHECK_EQ(ph[i].inheritable(), ch[i].inheritable());
CHECK(ph[i].tryFlags() && ch[i].tryFlags());
CHECK_EQ(ph[i].tryFlags() && ph[i].inheritable(),
ch[i].tryFlags() && ch[i].inheritable());
}
};
check();