unit: Move More Time test data
authorDenis Kenzior <denkenz@gmail.com>
Tue, 30 Oct 2012 21:59:25 +0000 (16:59 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Wed, 31 Oct 2012 21:14:26 +0000 (16:14 -0500)
unit/stk-test-data.h
unit/test-stkutil.c

index 0256f19..7a417b8 100644 (file)
@@ -1095,3 +1095,11 @@ static const unsigned char get_input_response_1221[] = {
        0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb,
        0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb,
 };
+
+static const unsigned char more_time_111[] = {
+       0xD0, 0x09, 0x81, 0x03, 0x01, 0x02, 0x00, 0x82, 0x02, 0x81, 0x82
+};
+
+static const unsigned char more_time_response_111[] = {
+       0x81, 0x03, 0x01, 0x02, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+};
index a63c3f7..2f4560f 100644 (file)
@@ -2469,9 +2469,6 @@ struct more_time_test {
        unsigned char qualifier;
 };
 
-static unsigned char more_time_111[] = { 0xD0, 0x09, 0x81, 0x03, 0x01, 0x02,
-                                               0x00, 0x82, 0x02, 0x81, 0x82 };
-
 static struct more_time_test more_time_data_111 = {
        .pdu = more_time_111,
        .pdu_len = sizeof(more_time_111),
@@ -17665,11 +17662,6 @@ static const struct terminal_response_test get_input_response_data_1221 = {
        },
 };
 
-static const unsigned char more_time_response_111[] = {
-       0x81, 0x03, 0x01, 0x02, 0x00, 0x82, 0x02, 0x82,
-       0x81, 0x83, 0x01, 0x00,
-};
-
 static const struct terminal_response_test more_time_response_data_111 = {
        .pdu = more_time_response_111,
        .pdu_len = sizeof(more_time_response_111),