From: Michael Stapelberg Date: Mon, 7 Nov 2011 23:07:08 +0000 (+0000) Subject: lib/StartXDummy.pm: document why we use -config /dev/null X-Git-Tag: 4.1~28^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf12befd6dd54c6cb0a66d6355acc35f4a783d93;p=i3%2Fi3 lib/StartXDummy.pm: document why we use -config /dev/null --- 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; }