test: skip tty_pty test if pty is not available
authorLuca Bruno <lucab@debian.org>
Sun, 23 Oct 2016 13:36:45 +0000 (14:36 +0100)
committerMattia Rizzolo <mattia@debian.org>
Sun, 23 Oct 2016 13:36:45 +0000 (14:36 +0100)
commita52b55b439ed47e4b8d5c0b757bc0682d1ce058a
tree75754088f11a5cb28f4e7a81bd0f1d1fc3ab6c1e
parentc28ecc4170462dc6a47b50b98fa278643b29bd5f
test: skip tty_pty test if pty is not available

Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Forwarded: yes, accepted already: https://github.com/libuv/libuv/pull/919
Last-Update: Sun, 19 Jun 2016 18:20:53 +0200

Do not let `tty_pty` test fail if no terminals are available
to `openpty()`.

Gbp-Pq: Name skip_test_if_no_pty.patch
test/test-tty.c