summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorAlfonso Sanchez-Beato <alfonso.sanchez-beato@canonical.com>2014-03-14 17:23:44 +0100
committerDenis Kenzior <denkenz@gmail.com>2014-03-14 12:24:26 -0500
commit352e3ebb761b09891036018e6f55446b93bb9b28 (patch)
tree176d0098c01663a685d410398b572c87dff844f2 /unit
parent46de4df677d4dc70ef6e64ed5f6ea0c71b36099d (diff)
downloadofono-352e3ebb761b09891036018e6f55446b93bb9b28.tar.bz2
unit: Fix test to use valid EF_PNN
test-simutil was not using EF_PNN files with a valid format.
Diffstat (limited to 'unit')
-rw-r--r--unit/test-simutil.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/unit/test-simutil.c b/unit/test-simutil.c
index cf76a37f..69dd81ef 100644
--- a/unit/test-simutil.c
+++ b/unit/test-simutil.c
@@ -345,10 +345,12 @@ const unsigned char valid_efopl[] = {
};
const unsigned char valid_efpnn[][28] = {
- { 0x43, 0x0a, 0x00, 0x54, 0x75, 0x78, 0x20, 0x43, 0x6f, 0x6d,
- 0x6d, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, },
- { 0x43, 0x05, 0x00, 0x4C, 0x6F, 0x6E, 0x67, 0x45, 0x06, 0x00,
- 0x53, 0x68, 0x6F, 0x72, 0x74, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, }
+ /* Solavei */
+ { 0x43, 0x08, 0x87, 0xD3, 0x37, 0x3B, 0x6C, 0x2F, 0xA7, 0x01 },
+ /* T-Mobile / T-Mobile */
+ { 0x43, 0x08, 0x80, 0xD4, 0x56, 0xF3, 0x2D, 0x4E, 0xB3, 0xCB,
+ 0x45, 0x08, 0x80, 0xD4, 0x56, 0xF3, 0x2D, 0x4E, 0xB3, 0xCB,
+ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }
};
static void test_eons(void)
@@ -376,7 +378,7 @@ static void test_eons(void)
op_info = sim_eons_lookup(eons_info, "246", "81");
g_assert(op_info);
- g_assert(!strcmp(op_info->longname, "Tux Comm"));
+ g_assert(!strcmp(op_info->longname, "Solavei"));
g_assert(!op_info->shortname);
g_assert(!op_info->info);