summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/testsuite.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c
index 8ad8e95..880068b 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -77,22 +77,6 @@ static void test_swrap_ioctl_sock(void **state)
assert_int_equal(rc, 0);
}
-static void test_swrap_ioctl_tty(void **state)
-{
- struct winsize ws;
- int rc;
-
- (void) state; /* unused */
-
- memset(&ws, 0, sizeof(struct winsize));
-
- rc = ioctl(0, TIOCGWINSZ, &ws);
- assert_int_equal(rc, 0);
-
- assert_true(ws.ws_col > 1);
- assert_true(ws.ws_row > 1);
-}
-
static void test_swrap_socket(void **state)
{
int rc;
@@ -134,7 +118,6 @@ int main(void) {
const UnitTest tests[] = {
unit_test_setup_teardown(test_swrap_socket, setup, teardown),
unit_test_setup_teardown(test_swrap_ioctl_sock, setup, teardown),
- unit_test_setup_teardown(test_swrap_ioctl_tty, setup, teardown),
};
rc = run_tests(tests);