mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
11 lines
183 B
C++
11 lines
183 B
C++
|
|
#include "test.h"
|
|
|
|
#include "libipc/imp/system.h"
|
|
|
|
TEST(system, conf) {
|
|
auto ret = ipc::sys::conf(ipc::sys::info::page_size);
|
|
EXPECT_TRUE(ret);
|
|
EXPECT_EQ(ret.value(), 4096);
|
|
}
|