Silence expected errlog output from chfPluginTest.

This commit is contained in:
Andrew Johnson
2012-07-09 11:44:32 -05:00
parent 62727dcba6
commit 325fc8001c

View File

@@ -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),