[PATCH] libosmo-sccp[master]: mtp_parse_test: Comment out unused but defined packets

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Nov 11 14:40:21 UTC 2016


Review at  https://gerrit.osmocom.org/1232

mtp_parse_test: Comment out unused but defined packets

Change-Id: I837eee6cc6e2bdea65988b19d9e15601eda44589
---
M tests/mtp/mtp_parse_test.c
1 file changed, 9 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/32/1232/1

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 @@
 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 };
 
@@ -48,9 +52,6 @@
 
 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 @@
 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[] = {
 	{

-- 
To view, visit https://gerrit.osmocom.org/1232
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I837eee6cc6e2bdea65988b19d9e15601eda44589
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list