Avoid corrupting the exitcode with a failure to open a quiescent fd
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2013 08:58:28 +0000 (09:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2013 09:01:15 +0000 (10:01 +0100)
commit9eb7d8950c199b9f4d93f3434aac9aa51c69d242
tree769e70e5175a5899015726e34c04449550f29ff1
parent9360df4ab33697b6a64ed8ec05d84564c784d607
Avoid corrupting the exitcode with a failure to open a quiescent fd

In the atexit handler, we attempt to quiesce the GPU. This involves
opening a fd - which will fail if the test is not being run as root and
will obliterate the test status and pollute the output.
lib/drmtest.c