Index: lldb/trunk/unittests/Host/MainLoopTest.cpp =================================================================== --- lldb/trunk/unittests/Host/MainLoopTest.cpp +++ lldb/trunk/unittests/Host/MainLoopTest.cpp @@ -108,7 +108,11 @@ } #ifdef LLVM_ON_UNIX +// NetBSD currently does not report slave pty EOF via kevent +// causing this test to hang forever. +#ifndef __NetBSD__ TEST_F(MainLoopTest, DetectsEOF) { + PseudoTerminal term; ASSERT_TRUE(term.OpenFirstAvailableMaster(O_RDWR, nullptr, 0)); ASSERT_TRUE(term.OpenSlave(O_RDWR | O_NOCTTY, nullptr, 0)); @@ -125,6 +129,7 @@ ASSERT_TRUE(loop.Run().Success()); ASSERT_EQ(1u, callback_count); } +#endif TEST_F(MainLoopTest, Signal) { MainLoop loop;