diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-04-12 01:29:57 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-04-12 01:29:57 +0300 |
commit | a1ed9cb9af4b6ab50010d1fad35ffd36ac31fb33 (patch) | |
tree | 12841b4d525e20f708301fdf40863c23d081cc82 /test/tests/shared_fs_mutex.cpp | |
parent | 8273a9a9e05bb9be7b3dc438860d2d96d37bd97a (diff) |
Supposedly should now be compiling clean on POSIX, but fails on clang due to clang disliking the <experimental/filesystem> in libstdc++ and GCC 5 ICEs. Lovely.
Diffstat (limited to 'test/tests/shared_fs_mutex.cpp')
-rw-r--r-- | test/tests/shared_fs_mutex.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tests/shared_fs_mutex.cpp b/test/tests/shared_fs_mutex.cpp index cfb1731a..b38936fb 100644 --- a/test/tests/shared_fs_mutex.cpp +++ b/test/tests/shared_fs_mutex.cpp @@ -500,7 +500,9 @@ static void TestMemoryMapFallback() auto lk = afio::algorithm::shared_fs_mutex::memory_map<>::fs_mutex_map("lockfile", &fblk); BOOST_CHECK(lk.has_error()); if(lk.has_error()) + { BOOST_CHECK(lk.get_error().value() == EBUSY); + } { auto fblkh = fblk.lock(afio::algorithm::shared_fs_mutex::shared_fs_mutex::entity_type(0, false)).get(); long oldval = ++shmem->current_shared; |