[PATCH 3/8] teststk: Add check of len in byte array

Yang Gu gyagp0 at gmail.com
Wed May 26 07:39:09 PDT 2010


---
 unit/test-stkutil.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 173ab2d..e01cb17 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -82,6 +82,7 @@ static inline void check_common_byte_array(
 	}
 
 	g_assert(command->len != 0);
+	g_assert(command->len == test->len);
 	g_assert(g_mem_equal(command->array, test->array, test->len));
 }
 
-- 
1.7.0.4



More information about the ofono mailing list