summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/server/misc.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/server/misc.cpp b/tests/server/misc.cpp
index 2745d19..8d33045 100644
--- a/tests/server/misc.cpp
+++ b/tests/server/misc.cpp
@@ -134,11 +134,7 @@ TEST(MiscServerTest, DoubleSegfault)
unlink(server.GetLogFilePath().c_str());
- /* The XServer destructor tries to terminate the server and prints
- warnings if it fails */
- std::cout << "Note: below warnings about server termination failures server are false positives\n";
- server.Terminate(); /* explicitly terminate instead of destructor to
- only get one warning */
+ server.SetKeepalive();
}
#if HAVE_XSCREENSAVER