don't do multiple run test on vxWorks

This commit is contained in:
zimoch
2013-05-16 11:53:44 +00:00
parent 1515d15cf4
commit 2db6e95fb5
+2
View File
@@ -110,6 +110,7 @@ static void req_server (void *pParm)
status = bind ( IOC_sock, (struct sockaddr *) &serverAddr, sizeof ( serverAddr ) );
if ( status < 0 ) {
if ( SOCKERRNO == SOCK_EADDRINUSE ) {
#ifndef vxWorks
const char* multiple_iocs = getenv("EPICS_ALLOW_MULTIPLE_IOCS");
if (multiple_iocs && strcasecmp(multiple_iocs, "NO") == 0)
{
@@ -117,6 +118,7 @@ static void req_server (void *pParm)
errlogPrintf ( "CAS: Probably already running an IOC on this computer.\n");
epicsExit(1);
}
#endif
/*
* enable assignment of a default port
* (so the getsockname() call below will