/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1999-2012 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#include "vmtest.h"
char *shmfile;
char *mapfile;
tmain()
{
int k, code = 0;
if(k = tchild())
for(k = 0; k < 1024; ++k)
if(*shmfile)
}
for(k = 0; k < 1024; ++k)
if(*mapfile)
}
}
else
else
{ tnote("shm not supported");
shmfile = "";
}
else
{ tnote("map not supported");
mapfile = "";
}
{ default :
break;
case 0 :
arg[4] = 0;
terror("Could not exec child process");
case -1:
terror("Could not fork a child process");
}
}
}