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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user