Commit 6799bd76 authored by Povilas Kanapickas's avatar Povilas Kanapickas
Browse files

misc: Use dummy configuration in DoubleSegfault test

This avoids dependency on the state of the system. In particular, we
don't depend on any available devices.
parent e29d58a8
......@@ -99,7 +99,9 @@ TEST(MiscServerTest, DoubleSegfault)
"signal, clean up and then call exit(1).\n");
XITServer server;
server.Start();
XOrgConfig config;
config.AddDefaultScreenWithDriver();
server.Start(config);
ASSERT_EQ(server.GetState(), xorg::testing::Process::RUNNING);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment