Added final call to errlogFlush(), needed for solaris-sparc-gnu for some

unknown reason - without it, the program doesn't always exit properly.
This commit is contained in:
Andrew Johnson
2004-05-28 18:17:25 +00:00
parent 894936cc5e
commit 7366f7359c

View File

@@ -18,6 +18,7 @@
#include "macLib.h"
#include "envDefs.h"
#include "errlog.h"
int
check(char *str, char *expect)
@@ -54,5 +55,7 @@ int macEnvExpandTest(void)
bad |= check ("${FOO}", "VAL1");
epicsEnvSet("BAR","${STR2}");
bad |= check ("${FOO}", "VAL2");
errlogFlush();
return bad;
}