| 44 | } |
| 45 | |
| 46 | TEST(SubProcess, True) |
| 47 | { |
| 48 | SubProcess p("true"); |
| 49 | ASSERT_EQ(p.spawn(), 0); |
| 50 | ASSERT_EQ(p.join(), 0); |
| 51 | ASSERT_TRUE(p.err().c_str()[0] == '\0'); |
| 52 | } |
| 53 | |
| 54 | TEST(SubProcess, False) |
| 55 | { |
nothing calls this directly
no test coverage detected