aboutsummaryrefslogtreecommitdiffstats
path: root/tests/isup/isup_parse_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-20 10:47:14 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-20 10:47:14 +0100
commit475291355dc2c48dbde85559616dda415042ee13 (patch)
treed1d36a46f04a3e391cdb87f8a9f6ffca20191b57 /tests/isup/isup_parse_test.c
parentfd8513d8c398b08d0f4812b6df5a8fac7e629969 (diff)
tests: Add GNU Autotest invocation for the tests we have here
Add some std output of the applications, integrate tests.
Diffstat (limited to 'tests/isup/isup_parse_test.c')
-rw-r--r--tests/isup/isup_parse_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/isup/isup_parse_test.c b/tests/isup/isup_parse_test.c
index c6dbdf4..6bb582a 100644
--- a/tests/isup/isup_parse_test.c
+++ b/tests/isup/isup_parse_test.c
@@ -35,6 +35,8 @@ static void test_cic_parsing()
static const uint8_t isup_grs[] = {3, 0, 23, 1, 1, 28};
struct isup_msg_hdr *hdr;
+ printf("Testing CIC parsing.\n");
+
hdr = (struct isup_msg_hdr *) isup_grs;
ASSERT(hdr->cic, 3);
ASSERT(hdr->msg_type, ISUP_MSG_GRS);
@@ -46,6 +48,8 @@ static void test_grs_parsing()
struct isup_msg_hdr *hdr;
int range;
+ printf("Testing GRS parsing.\n");
+
hdr = (struct isup_msg_hdr *) isup_grs;
range = isup_parse_status(&hdr->data[0], 3);