mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
Refactoring of SharedMemory.h (#418)
Function names match Detector.h Removed double print due to LOG then throw file descriptor not kept as a member variable
This commit is contained in:
@ -32,8 +32,8 @@ TEST_CASE("Is shm fixed pattern shm compatible") {
|
||||
|
||||
// Set shm version to 0
|
||||
sls::SharedMemory<sls::sharedModule> shm(0, 0);
|
||||
REQUIRE(shm.IsExisting() == true);
|
||||
shm.OpenSharedMemory();
|
||||
REQUIRE(shm.exists() == true);
|
||||
shm.openSharedMemory();
|
||||
shm()->shmversion = 0;
|
||||
|
||||
// Should fail since version is set to 0
|
||||
|
Reference in New Issue
Block a user