diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-02-14 20:13:02 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-02-14 20:13:02 +0000 |
commit | 5a77466feaa459f85654bad193e359aa016aa349 (patch) | |
tree | b75f5b0c7b067e9d1ec852ccd27c0f9c5c41459f | |
parent | Set cache timeout correctly (diff) | |
download | netfs-5a77466feaa459f85654bad193e359aa016aa349.tar.bz2 netfs-5a77466feaa459f85654bad193e359aa016aa349.tar.xz netfs-5a77466feaa459f85654bad193e359aa016aa349.zip |
Exclude failsafe exit from test coverage
-rw-r--r-- | netfs/fuse/fuseApp.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/netfs/fuse/fuseApp.cpp b/netfs/fuse/fuseApp.cpp index 8bd73cd..9b2ba1c 100644 --- a/netfs/fuse/fuseApp.cpp +++ b/netfs/fuse/fuseApp.cpp @@ -23,20 +23,24 @@ NetFS::FuseApp::FuseApp(const Ice::StringSeq & a) : NetFS::FuseApp::~FuseApp() { for (const OpenDirs::value_type & of : openDirs) { + // LCOV_EXCL_START try { of.second->remote->close(); } catch (...) { // Can't do anything useful here } + // LCOV_EXCL_STOP } for (const OpenFiles::value_type & of : openFiles) { + // LCOV_EXCL_START try { of.second->remote->close(); } catch (...) { // Can't do anything useful here } + // LCOV_EXCL_STOP } if (volume) { try { |