Thomas Wood 8408e00e62 testdisplay: only set terminal attributes when in foreground process group
The Piglit test runner for intel-gpu-tools creates a new process group
for the test processes, so attempting to set terminal attributes causes
the process to receive SIGTTOU and be stopped. Since the test is not run
interactively in this case, the issue can be avoided by not setting
terminal attributes if the process is not in the foreground process
group.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-07-25 14:46:51 +01:00
..
2012-04-10 16:23:18 +02:00
2014-06-13 18:27:59 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 12:33:02 +01:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 09:56:53 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 09:56:53 +02:00
2014-05-14 09:56:53 +02:00
2014-06-17 23:06:59 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 09:56:53 +02:00
2014-03-23 13:47:09 +01:00
2013-11-01 22:18:20 +01:00
2014-04-14 09:37:53 +02:00
2014-07-19 11:59:42 +01:00
2014-07-10 20:06:54 +02:00
2014-07-10 20:06:54 +02:00
2014-05-14 09:56:53 +02:00
2014-07-10 20:06:54 +02:00
2013-11-01 21:10:59 +01:00
2014-06-13 18:27:59 +02:00
2012-01-15 16:05:43 +01:00