diff options
author | irungentoo <irungentoo@gmail.com> | 2014-09-26 18:01:03 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-09-26 18:01:03 -0400 |
commit | 939f2003efd1c7f5af9aee713f55ffbe9d825a00 (patch) | |
tree | 1bf2d1f20b251763d08dee6958ea496a60a6bead | |
parent | 33721da46ab45ff6073cabf5bc97eacb0129fce9 (diff) |
Removed now useless network sturct size tests.
-rw-r--r-- | auto_tests/network_test.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/auto_tests/network_test.c b/auto_tests/network_test.c index 9d07fbb4..c1ac8084 100644 --- a/auto_tests/network_test.c +++ b/auto_tests/network_test.c | |||
@@ -134,22 +134,12 @@ START_TEST(test_ip_equal) | |||
134 | } | 134 | } |
135 | END_TEST | 135 | END_TEST |
136 | 136 | ||
137 | START_TEST(test_struct_sizes) | ||
138 | { | ||
139 | ck_assert_msg(sizeof(IP4) == 4, "sizeof(IP4): expected result 4, got %u.", sizeof(IP4)); | ||
140 | ck_assert_msg(sizeof(IP6) == 16, "sizeof(IP6): expected result 16, got %u.", sizeof(IP6)); | ||
141 | ck_assert_msg(sizeof(IP) == 17, "sizeof(IP): expected result 17, got %u.", sizeof(IP)); | ||
142 | ck_assert_msg(sizeof(IP_Port) == 19, "sizeof(IP_Port): expected result 19, got %u.", sizeof(IP_Port)); | ||
143 | } | ||
144 | END_TEST | ||
145 | |||
146 | Suite *network_suite(void) | 137 | Suite *network_suite(void) |
147 | { | 138 | { |
148 | Suite *s = suite_create("Network"); | 139 | Suite *s = suite_create("Network"); |
149 | 140 | ||
150 | DEFTESTCASE(addr_resolv_localhost); | 141 | DEFTESTCASE(addr_resolv_localhost); |
151 | DEFTESTCASE(ip_equal); | 142 | DEFTESTCASE(ip_equal); |
152 | DEFTESTCASE(struct_sizes); | ||
153 | 143 | ||
154 | return s; | 144 | return s; |
155 | } | 145 | } |