qa: rfork(RFNAMEG) on tests that are going to rfork(RFNOMNT) later
This commit is contained in:
@@ -23,6 +23,7 @@ main(void)
|
||||
{
|
||||
int pid;
|
||||
|
||||
rfork(RFNAMEG);
|
||||
pid = getmainpid(); // this comes from exec() syscall
|
||||
|
||||
if(getpid() != pid){
|
||||
|
@@ -24,6 +24,7 @@ main(void)
|
||||
int ppid;
|
||||
Waitmsg *w;
|
||||
|
||||
rfork(RFNAMEG);
|
||||
if(rfork(RFPROC) == 0){
|
||||
ppid = getmainpid(); // this comes from exec() syscall
|
||||
|
||||
|
Reference in New Issue
Block a user