aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-11 15:38:52 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-11 15:40:07 +0100
commit675a3cb718fa11e476fcfbe6573e58c6f5d19ae3 (patch)
treee4cbaf9fb4fef6737b3335db2d76966f78b88b9a /tests
parentdfb4d918927b455127f5ef0149a76ee88bee05bb (diff)
mtp_parse_test: Comment out unused but defined packets
Diffstat (limited to 'tests')
-rw-r--r--tests/mtp/mtp_parse_test.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/mtp/mtp_parse_test.c b/tests/mtp/mtp_parse_test.c
index 80f1e4b..75650a3 100644
--- a/tests/mtp/mtp_parse_test.c
+++ b/tests/mtp/mtp_parse_test.c
@@ -26,13 +26,17 @@ static const unsigned char pkt1[] = {
0x61, 0x72, 0x62, 0x61, 0x6e, 0x6f, 0x62, 0x61,
0x72, 0x6e, 0x61, 0x62, 0x6f };
-static const unsigned char pkt2[] = {
-0x81, 0x5b, 0x00, 0x22, 0x00, 0x11, 0xe0, 0x41,
+static const unsigned char pkt3[] = {
+0x81, 0x88, 0xc0, 0x16, 0x00, 0x21, 0xe0, 0x41,
0x6d, 0x69, 0x74, 0x20, 0x43, 0x68, 0x61, 0x6e,
0x64, 0x72, 0x61, 0x00, 0x00 };
-static const unsigned char pkt3[] = {
-0x81, 0x88, 0xc0, 0x16, 0x00, 0x21, 0xe0, 0x41,
+static const unsigned char pkt7[] = {
+0x80, 0x88, 0xc0, 0x16, 0x00, 0x14, 0x56, 0x00 };
+
+#if 0
+static const unsigned char pkt2[] = {
+0x81, 0x5b, 0x00, 0x22, 0x00, 0x11, 0xe0, 0x41,
0x6d, 0x69, 0x74, 0x20, 0x43, 0x68, 0x61, 0x6e,
0x64, 0x72, 0x61, 0x00, 0x00 };
@@ -49,9 +53,6 @@ static const unsigned char pkt5[] = {
static const unsigned char pkt6[] = {
0x80, 0x5b, 0x00, 0x22, 0x00, 0x17 };
-static const unsigned char pkt7[] = {
-0x80, 0x88, 0xc0, 0x16, 0x00, 0x14, 0x56, 0x00 };
-
static const unsigned char pkt8[] = {
0x80, 0x88, 0xc0, 0x16, 0x00, 0x14, 0x00, 0x00 };
@@ -463,6 +464,7 @@ static const unsigned char pkt77[] = {
0x83, 0x88, 0xc0, 0x16, 0x60, 0x09, 0x00, 0x03,
0x07, 0x0b, 0x04, 0x43, 0x88, 0x00, 0xfe, 0x04,
0x43, 0x5b, 0x00, 0xfe, 0x03, 0x00, 0x01, 0x31 };
+#endif
static struct mtp_test tests[] = {
{