summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-02-07 18:16:19 +0000
committerChris Wilson <chris+github@qwirx.com>2014-02-07 18:16:19 +0000
commitae8c511c9cfd2a12e9e4c1199b080a2dfda22973 (patch)
tree46a834b7d8e861e1f5974a3f105fdd838af9e940 /infrastructure
parentc3f2b249d7b87d0a20ff2c0f064245c5104907f7 (diff)
Close syslog before checking for files left open in tests.
Otherwise we might detect the opened syslog socket as a leaked file descriptor.
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/buildenv-testmain-template.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp
index 933c3608..2471004d 100644
--- a/infrastructure/buildenv-testmain-template.cpp
+++ b/infrastructure/buildenv-testmain-template.cpp
@@ -416,6 +416,8 @@ int main(int argc, char * const * argv)
if(fulltestmode)
{
+ Logging::GetSyslog().Shutdown();
+
bool filesleftopen = checkfilesleftopen();
fflush(stdout);