Get this unit test working again; this test is somewhat at odds with inferring the executable from the manifest

This commit is contained in:
Don Porter
2017-04-07 12:58:34 -04:00
parent cf2a3f966a
commit 9a7e6d6fde
+7 -3
View File
@@ -8,10 +8,14 @@
int main (int argc, char ** argv, char ** envp)
{
PAL_STR args[1] = { 0 };
PAL_HANDLE child = DkProcessCreate(NULL, 0, args);
if (child)
pal_printf("Create Process without Executable OK\n");
// Hack to differentiate parent from child
if (argc == 1) {
PAL_HANDLE child = DkProcessCreate(NULL, 0, args);
if (child)
pal_printf("Create Process without Executable OK\n");
}
return 0;
}