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 12:13:28 +0000
commitd1032d1f01709257c2350232453294f60325ecc2 (patch)
tree21958e754132ee73e3f2fa510f7078d870db1641
parente7c6f7ae41cbd37f28d2646c9e6d4ed8ac577633 (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 b337410..5a159fe 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),
+ },
};