diff --git a/libsyncthing/tests/interfacetests.cpp b/libsyncthing/tests/interfacetests.cpp index 6231922..5946865 100644 --- a/libsyncthing/tests/interfacetests.cpp +++ b/libsyncthing/tests/interfacetests.cpp @@ -9,6 +9,8 @@ #include #include +#include + using namespace std; using namespace ChronoUtilities; using namespace ConversionUtilities; @@ -134,6 +136,11 @@ void InterfaceTests::testRun() CPPUNIT_ASSERT(testDev1Ready); CPPUNIT_ASSERT(testDev2Ready); CPPUNIT_ASSERT(shutDownLogged); + + // keep running to check whether we don't crash in the next few seconds + // FIXME: make this test pass, stop Syncthing correctly + sleep(5); +} } /*!