While debugging the g-s-d testsuite a few more issues in the OutputChecker code came up. Pull in these fixes ensuring that EOF and the read side FD are handled correctly.
Mark the thread as daemon. Also use poll and fix a wrong variable reference.
This pulls in some changes done in gnome-settings-daemon to be able to force close the FD at the end of the test.