mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-10-29 22:01:29 +01:00
size of shm needs to be only sometimes checked when opening shared memory (#443)
This commit is contained in:
1 parent
88649a00b6
commit
8d6b8d66cc
6 files changed
+14
-13
No files matched your search
@@ -33,7 +33,7 @@ TEST_CASE("Is shm fixed pattern shm compatible") {
|
||||
// Set shm version to 0
|
||||
sls::SharedMemory<sls::sharedModule> shm(0, 0);
|
||||
REQUIRE(shm.exists() == true);
|
||||
shm.openSharedMemory();
|
||||
shm.openSharedMemory(true);
|
||||
shm()->shmversion = 0;
|
||||
|
||||
// Should fail since version is set to 0
|
||||
|
||||
Reference in new issue
Block a user