diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-04-09 17:21:41 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-04-10 18:18:29 +0300 |
commit | a558c2e2405473f4157ca71638e5a111ebfa80d1 (patch) | |
tree | 0d97e904892f1504903525df6dcd57543a93ac16 /tests/kms_plane_multiple.c | |
parent | 64d0ff7247497ae6d726e4535fe74d4bb6ae914a (diff) |
lib: Reset errno to 0 after isatty
Since igt_assert family of functions logs last errno we get a lot of
those: "Last errno: 25, Inappropriate ioctl for device"
isatty() seems to be the biggest offender in that area, so this patch
should limit amount of confusing messages significantly.
Cc: Martin Peres <martin.peres@linux.intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/kms_plane_multiple.c')
0 files changed, 0 insertions, 0 deletions