lichao
2021-05-18 60b9594fa3ea5c96e3d90a138ac3854705e1a74e
utest/simple_tests.cpp
@@ -107,8 +107,8 @@
BOOST_AUTO_TEST_CASE(TimedWaitTest)
{
   SharedMemory &shm = TestShm();
   MsgI::BindShm(shm);
   ShmMsgQueue q(shm, 64);
   GlobalInit(shm);
   ShmMsgQueue q(shm, ShmMsgQueue::NewId(), 64);
   for (int i = 0; i < 2; ++i) {
      int ms = i * 100;
      printf("Timeout Test %4d: ", ms);
@@ -123,7 +123,7 @@
{
   SharedMemory &shm = TestShm();
   typedef MsgI Msg;
   Msg::BindShm(shm);
   GlobalInit(shm);
   Msg m0(1000);
   BOOST_CHECK(m0.valid());