lib/StartXDummy.pm: document why we use -config /dev/null
This commit is contained in:
parent
afc488021f
commit
bf12befd6d
@ -54,6 +54,9 @@ sub start_xdummy {
|
|||||||
# Child, close stdout/stderr, then start Xdummy.
|
# Child, close stdout/stderr, then start Xdummy.
|
||||||
POSIX::close(0);
|
POSIX::close(0);
|
||||||
POSIX::close(2);
|
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';
|
exec './Xdummy', ":$displaynum", '-config', '/dev/null';
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user