diff --git a/sys_wait_h b/sys_wait_h
deleted file mode 160000
index 229dee8..0000000
--- a/sys_wait_h
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 229dee8de9cb4c29a3a31115112a4175df84a8eb
diff --git a/test/struct_test.c b/test/struct_test.c
index 8a1ad6e..5325574 100644
--- a/test/struct_test.c
+++ b/test/struct_test.c
@@ -44,12 +44,14 @@
TEST_CASE_PROTOTYPE(struct_test_fact_w);
TEST_CASE_PROTOTYPE(struct_test_http_request);
TEST_CASE_PROTOTYPE(struct_test_http_response);
+TEST_CASE_PROTOTYPE(struct_test_time);
void struct_test (void)
{
TEST_CASE_RUN(struct_test_fact_w);
TEST_CASE_RUN(struct_test_http_request);
TEST_CASE_RUN(struct_test_http_response);
+ TEST_CASE_RUN(struct_test_time);
}
TEST_CASE(struct_test_fact_w)
@@ -83,3 +85,11 @@ TEST_CASE(struct_test_http_response)
STRUCT_TEST_SIZEOF( s_http_response, HTTP.Response);
}
TEST_CASE_END(struct_test_http_response)
+
+TEST_CASE(struct_test_time)
+{
+ STRUCT_TEST_OFFSETOF(s_time, Time, tv_sec);
+ STRUCT_TEST_OFFSETOF(s_time, Time, tv_nsec);
+ STRUCT_TEST_SIZEOF( s_time, Time);
+}
+TEST_CASE_END(struct_test_time)