From 027b6c6d0a6ea710a28aed6389a5fab6e44d20a1 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 18 Oct 2012 13:05:40 -0500 Subject: unit: Move GetInput 1.9 test data --- unit/stk-test-data.h | 10 ++++++++++ unit/test-stkutil.c | 11 ----------- 2 files changed, 10 insertions(+), 11 deletions(-) (limited to 'unit') diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index d1c838d1..59a07acd 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -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, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index e4f9b425..7151f5f0 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -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, -- cgit v1.2.3