equal
deleted
inserted
replaced
42 test.Printf(_L("Create a new process t_waitpid to test POSIX waitpid\n")); |
42 test.Printf(_L("Create a new process t_waitpid to test POSIX waitpid\n")); |
43 //Creating another process to run T_WAITPID and test if it completed correctly |
43 //Creating another process to run T_WAITPID and test if it completed correctly |
44 TInt err=me.Create(_L("T_WAITPID"),_L("")); |
44 TInt err=me.Create(_L("T_WAITPID"),_L("")); |
45 if (err==KErrNotFound) |
45 if (err==KErrNotFound) |
46 err=me.Create(_L("z:\\test\\T_WAITPID"),_L("")); |
46 err=me.Create(_L("z:\\test\\T_WAITPID"),_L("")); |
|
47 if (err==KErrNotFound) |
|
48 err=me.Create(_L("c:\\test\\T_WAITPID"),_L("")); |
|
49 if (err==KErrNotFound) |
|
50 err=me.Create(_L("c:\\sys\\bin\\T_WAITPID"),_L("")); |
47 test(err==KErrNone); |
51 test(err==KErrNone); |
48 |
52 |
49 //Checking that the child proces T_WAITPID executes properly with no panic |
53 //Checking that the child proces T_WAITPID executes properly with no panic |
50 TRequestStatus status; |
54 TRequestStatus status; |
51 me.Logon(status); |
55 me.Logon(status); |