diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-11-15 09:23:11 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-11-15 09:23:11 +0100 |
commit | 0df9fa8ab86c4474dc14d679df5902338f05a9c2 (patch) | |
tree | 3396f05e56eee9f3ad3f06f685f461ae87452104 | |
parent | 792ad2c2aaa846b3497c7e61b42d43cf7a36b0da (diff) | |
download | socket_wrapper-0df9fa8ab86c4474dc14d679df5902338f05a9c2.tar.gz socket_wrapper-0df9fa8ab86c4474dc14d679df5902338f05a9c2.tar.xz socket_wrapper-0df9fa8ab86c4474dc14d679df5902338f05a9c2.zip |
tests: Remove ioctl tty test it doesn't work in ctest.
-rw-r--r-- | tests/testsuite.c | 17 |
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); |