aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-24 11:22:43 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-24 11:23:30 +0100
commit143af9a02d3daa8d0e788951c85dc0d77b38c1f2 (patch)
treeebd6e300e47747cc842e35c1978a60ad595bd1e1
parent6853567564cef62a73a1cd2a6ce8af23bba5029f (diff)
bss: Add an additional test where we do not want to patch anything
-rw-r--r--tests/patching/patching_test.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/patching/patching_test.c b/tests/patching/patching_test.c
index 6a02e83..166cf70 100644
--- a/tests/patching/patching_test.c
+++ b/tests/patching/patching_test.c
@@ -128,6 +128,13 @@ static uint8_t dt1_cc_confirmed_hr3[] = {
0x00, 0x0b, 0x83, 0x48, 0x04, 0x04, 0x40, 0x05,
0x00, 0x81, 0x15, 0x01, 0x01};
+static uint8_t dt1_cc_setup[] = {
+0x06, 0x01, 0x0b, 0xdb, 0x00, 0x01, 0x16, 0x01,
+0x00, 0x13, 0x03, 0x45, 0x04, 0x06, 0x60, 0x04,
+0x02, 0x00, 0x05, 0x81, 0x5e, 0x07, 0x91, 0x19,
+0x99, 0x13, 0x28, 0x77, 0x77
+};
+
static struct result rewrite_results_to_msc[] = {
{
.input = udt_with_poi,
@@ -156,6 +163,13 @@ static struct result rewrite_results_to_msc[] = {
.expected = dt1_cc_confirmed_hr3,
.exp_len = sizeof(dt1_cc_confirmed_hr3),
},
+
+ {
+ .input = dt1_cc_setup,
+ .inp_len = sizeof(dt1_cc_setup),
+ .expected = dt1_cc_setup,
+ .exp_len = sizeof(dt1_cc_setup),
+ },
};