From c57b1352359eb83250405ac420d2244986bbe4ba Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 27 May 2018 01:14:47 -0400 Subject: [PATCH] testCa: Configure CA to search localhost only --- testCa/testCaProvider.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testCa/testCaProvider.cpp b/testCa/testCaProvider.cpp index fc1be44..3437d61 100644 --- a/testCa/testCaProvider.cpp +++ b/testCa/testCaProvider.cpp @@ -709,6 +709,8 @@ void TestIoc::run() char * arch; arch = getenv("EPICS_HOST_ARCH"); if(arch==NULL) throw std::runtime_error("TestIoc::run $$EPICS_HOST_ARCH not defined"); + setenv("EPICS_CA_ADDR_LIST", "localhost", 1); + setenv("EPICS_CA_AUTO_ADDR_LIST", "NO", 1); if(system("$EPICS_BASE/bin/$EPICS_HOST_ARCH/softIoc -x test -d ../testCaProvider.db")!=0) { string message(base); message += "/bin/";