diff options
author | Lev Walkin <vlm@lionet.info> | 2006-09-17 11:02:53 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-09-17 11:02:53 +0000 |
commit | bc6917730d315200711636ab127f760298d3791a (patch) | |
tree | fc41e25a3917b944d22950065cda36f7739b036b /examples/sample.makefile.regen | |
parent | 13c92a6409f8f74849a4067fd5f62f4e514b57f9 (diff) |
more granular PER encoding
Diffstat (limited to 'examples/sample.makefile.regen')
-rwxr-xr-x | examples/sample.makefile.regen | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/examples/sample.makefile.regen b/examples/sample.makefile.regen index 95c17794..1b8f8c4a 100755 --- a/examples/sample.makefile.regen +++ b/examples/sample.makefile.regen @@ -60,27 +60,39 @@ cat Makefile.am.sample \ echo " @if test -f ./sample-${ASN1PDU}-1.[db]er ; then \\" echo " for f in ./sample-${ASN1PDU}-*.[db]er; do \\" echo ' echo "Recoding $$f into XER and back..."; \' - echo ' ./${TARGET} -iber -oxer $$f > ./.tmp.1.$$ || exit 2; \' - echo ' ./${TARGET} -ixer -oxer ./.tmp.1.$$ > ./.tmp.2.$$ || exit 2; \' - echo ' diff ./.tmp.1.$$ ./.tmp.2.$$ || exit 2; \' - echo ' rm -f ./.tmp.[12].$$; \' + echo ' ./${TARGET} -iber -oxer -b 1 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iber -oxer -b 17 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iber -oxer -b 33 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iber -oxer -b 980 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iber -oxer $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -ixer -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \' + echo ' diff ./.tmp.1.$$$$ ./.tmp.2.$$$$ || exit 2; \' + echo ' rm -f ./.tmp.[12].$$$$; \' echo ' done; fi' echo " @if test -f ./sample-${ASN1PDU}-1.xer ; then \\" echo " for f in ./sample-${ASN1PDU}-*.xer; do \\" echo ' echo "Recoding $$f into DER and back..."; \' - echo ' ./${TARGET} -ixer -oder $$f > ./.tmp.1.$$ || exit 2; \' - echo ' ./${TARGET} -iber -oxer ./.tmp.1.$$ > ./.tmp.2.$$ || exit 2; \' - echo ' diff $$f ./.tmp.2.$$ || exit 2; \' - echo ' rm -f ./.tmp.[12].$$; \' + echo ' ./${TARGET} -ixer -oder -b 1 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -ixer -oder -b 17 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -ixer -oder -b 33 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -ixer -oder -b 980 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -ixer -oder $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \' + echo ' diff $$f ./.tmp.2.$$$$ || exit 2; \' + echo ' rm -f ./.tmp.[12].$$$$; \' echo ' done; fi' echo " @if test -f ./sample-${ASN1PDU}-1.per ; then \\" echo " for f in ./sample-${ASN1PDU}-*.per; do \\" echo ' echo "Recoding $$f into DER into XER and back..."; \' - echo ' ./${TARGET} -iper -oder $$f > ./.tmp.1.$$ || exit 2; \' - echo ' ./${TARGET} -ider -oxer ./.tmp.1.$$ > ./.tmp.2.$$ || exit 2; \' - echo ' ./${TARGET} -ixer -oper ./.tmp.2.$$ > ./.tmp.1.$$ || exit 2; \' - echo ' diff $$f ./.tmp.1.$$ || exit 2; \' - echo ' rm -f ./.tmp.[12].$$; \' + echo ' ./${TARGET} -iper -oder -b 1 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iper -oder -b 17 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iper -oder -b 33 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iper -oder -b 980 $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iper -oder $$f > ./.tmp.1.$$$$ || exit 2; \' + echo ' ./${TARGET} -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \' + echo ' ./${TARGET} -ixer -oper ./.tmp.2.$$$$ > ./.tmp.1.$$$$ || exit 2; \' + echo ' diff $$f ./.tmp.1.$$$$ || exit 2; \' + echo ' rm -f ./.tmp.[12].$$$$; \' echo ' done; fi' echo ' @echo ================' echo ' @echo All tests passed' |