unit: Move GetInput 1.9 test data
authorDenis Kenzior <denkenz@gmail.com>
Thu, 18 Oct 2012 18:05:40 +0000 (13:05 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 18 Oct 2012 18:05:40 +0000 (13:05 -0500)
unit/stk-test-data.h
unit/test-stkutil.c

index d1c838d..59a07ac 100644 (file)
@@ -740,3 +740,13 @@ static const unsigned char get_input_response_181[] = {
        0x39, 0x23, 0x23, 0x23, 0x2a, 0x2a, 0x2a, 0x30, 0x30, 0x30, 0x30, 0x30,
        0x30, 0x30, 0x30, 0x30, 0x30, 0x23, 0x23, 0x23,
 };
+
+static const unsigned char get_input_191[] = {
+       0xD0, 0x16, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x07, 0x04, 0x3C, 0x53, 0x45, 0x4E, 0x44, 0x3E, 0x91, 0x02, 0x00, 0x01
+};
+
+static const unsigned char get_input_response_191a[] = {
+       0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+       0x8d, 0x01, 0x04,
+};
index e4f9b42..7151f5f 100644 (file)
@@ -1553,12 +1553,6 @@ struct get_input_test {
        char *html;
 };
 
-static unsigned char get_input_191[] = { 0xD0, 0x16, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x07, 0x04, 0x3C, 0x53,
-                                               0x45, 0x4E, 0x44, 0x3E, 0x91,
-                                               0x02, 0x00, 0x01 };
-
 static unsigned char get_input_1101[] = { 0xD0, 0x0F, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x00, 0x91, 0x02, 0x01,
@@ -17693,11 +17687,6 @@ static const struct terminal_response_test get_input_response_data_181 = {
        },
 };
 
-static const unsigned char get_input_response_191a[] = {
-       0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x82,
-       0x81, 0x83, 0x01, 0x00, 0x8d, 0x01, 0x04,
-};
-
 static const unsigned char get_input_response_191b[] = {
        0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x82,
        0x81, 0x83, 0x01, 0x00, 0x8d, 0x00,