From bf12befd6dd54c6cb0a66d6355acc35f4a783d93 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 7 Nov 2011 23:07:08 +0000 Subject: [PATCH] lib/StartXDummy.pm: document why we use -config /dev/null --- testcases/lib/StartXDummy.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testcases/lib/StartXDummy.pm b/testcases/lib/StartXDummy.pm index 8657ba9d..36b9e006 100644 --- a/testcases/lib/StartXDummy.pm +++ b/testcases/lib/StartXDummy.pm @@ -54,6 +54,9 @@ sub start_xdummy { # Child, close stdout/stderr, then start Xdummy. POSIX::close(0); POSIX::close(2); + # We use -config /dev/null to prevent Xdummy from using the system + # Xorg configuration. The tests should be independant from the + # actual system X configuration. exec './Xdummy', ":$displaynum", '-config', '/dev/null'; exit 1; } -- 2.39.5