| 39 | |
| 40 | |
| 41 | TEST(ProcTest, Pids) |
| 42 | { |
| 43 | Try<set<pid_t>> pids = proc::pids(); |
| 44 | |
| 45 | ASSERT_SOME(pids); |
| 46 | EXPECT_FALSE(pids->empty()); |
| 47 | EXPECT_EQ(1u, pids->count(getpid())); |
| 48 | EXPECT_EQ(1u, pids->count(1)); |
| 49 | } |
| 50 | |
| 51 | |
| 52 | TEST(ProcTest, Cpus) |
nothing calls this directly
no test coverage detected