]> nuage.metani.fr Git - 3GPP.git/commitdiff
Add description of commands used to check that the ASN.1 in generated files is exactl...
authorDavid Lecompte <3gpp@metani.eu>
Fri, 24 Jul 2026 14:46:59 +0000 (16:46 +0200)
committerDavid Lecompte <3gpp@metani.eu>
Fri, 24 Jul 2026 14:46:59 +0000 (16:46 +0200)
how-to-check.txt [new file with mode: 0644]

diff --git a/how-to-check.txt b/how-to-check.txt
new file mode 100644 (file)
index 0000000..e2a5d8a
--- /dev/null
@@ -0,0 +1,6 @@
+awk '!/^--/ && !/^[:space:]*$/'  38331-j30.asn  > reference.asn
+cat reference.asn | sed -e 's/--.*$//g' > reference-integrated.asn
+awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/' 38331-j30-descriptions-with-fields.asn | sed -e 's/--.*$//g' > check-integrated.asn
+diff -b -B check-integrated.asn reference-integrated.asn |less
+awk '!/^[:space:]*--/ && !/^[:space:]*$/' 38331-j20-descriptions-with-fields.asn > check-afer-asn.asn
+diff check-afer-asn.asn reference.asn  |less