Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1054 mode_t was set as oflag in test - fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Eltzschig <me@elchris.org>
  • Loading branch information
elfenpiff authored and MatthiasKillat committed Feb 6, 2022
1 parent 32dd94d commit d9cbb27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceoryx_hoofs/test/moduletests/test_semaphore_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ TEST_F(SemaphoreCreate_test, OpenNamedSemaphore)
{
::testing::Test::RecordProperty("TEST_ID", "349cdf0d-987e-4e2f-aa35-98a40fdf979b");
auto semaphore = iox::posix::Semaphore::create(iox::posix::CreateNamedSemaphore, "/fuuSem", S_IRUSR | S_IWUSR, 10);
auto semaphore2 = iox::posix::Semaphore::create(iox::posix::OpenNamedSemaphore, "/fuuSem", S_IRUSR | S_IWUSR);
auto semaphore2 = iox::posix::Semaphore::create(iox::posix::OpenNamedSemaphore, "/fuuSem", O_CREAT);
EXPECT_THAT(semaphore.has_error(), Eq(false));
EXPECT_THAT(semaphore2.has_error(), Eq(false));
}
Expand Down

0 comments on commit d9cbb27

Please sign in to comment.