From 325fc8001cd2f4dcbacc321df4bd15f5f0e1309c Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 9 Jul 2012 11:44:32 -0500 Subject: [PATCH] Silence expected errlog output from chfPluginTest. --- src/ioc/db/test/chfPluginTest.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ioc/db/test/chfPluginTest.c b/src/ioc/db/test/chfPluginTest.c index fdb5bc84f..3a95f7882 100644 --- a/src/ioc/db/test/chfPluginTest.c +++ b/src/ioc/db/test/chfPluginTest.c @@ -15,6 +15,7 @@ #include "chfPlugin.h" #include "dbStaticLib.h" #include "dbAccessDefs.h" +#include "errlog.h" #include "registry.h" #include "epicsUnitTest.h" #include "testMain.h" @@ -504,6 +505,7 @@ MAIN(chfPluginTest) testAbort("Test database 'xRecord.db' not found"); testHead("Try to register buggy plugins"); + eltc(0); testOk(!!chfPluginRegister("buggy", &myPif, brokenOpts1), "not enough storage for integer"); testOk(!!chfPluginRegister("buggy", &myPif, brokenOpts2), @@ -512,6 +514,8 @@ MAIN(chfPluginTest) "not enough storage for string"); testOk(!!chfPluginRegister("buggy", &myPif, brokenOpts4), "not enough storage for enum"); + errlogFlush(); + eltc(1); testHead("Register plugins"); testOk(!chfPluginRegister("strict", &myPif, strictOpts),