summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas@radix.lt>2020-12-19 21:42:43 +0200
committerPovilas Kanapickas <povilas@radix.lt>2021-02-07 15:23:27 +0200
commite29d58a8b65ae7e41bdea60695877459530f3778 (patch)
treed9bb5443911b0bac012fc5ca7c5b8a82d56ccfc7
parent4c45f19e9ca59c9ca15123701a550a8f6332c888 (diff)
misc: Properly disable X server termination in DoubleSegfault test
-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