aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2017-08-31 01:57:04 -0700
committerLev Walkin <vlm@lionet.info>2017-08-31 02:15:43 -0700
commit3b6cba57177136c0459c0d0305384be327d0276e (patch)
tree2a45655e915b7dd35d4d945f0508def34c5ad03e
parent09bec4606cd8fdee89cba5f0577af28ab5fdbd5b (diff)
xer->oer->xer
-rwxr-xr-xexamples/sample.makefile.regen8
-rw-r--r--examples/sample.source.1609.2/Makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/examples/sample.makefile.regen b/examples/sample.makefile.regen
index 6a4b81f1..c58da42b 100755
--- a/examples/sample.makefile.regen
+++ b/examples/sample.makefile.regen
@@ -102,15 +102,15 @@ set +x
echo
echo 'check-oer:'
echo " @if test -f sample-${ASN1PDU}-1.*oer ; then \\"
- echo " for f in sample-*-*.{c,}oer; do \\"
+ echo " for f in sample-*-*.*oer; do \\"
echo ' pdu=`echo $$f | sed -E -e "s/sample-([A-Za-z-]+)-[0-9].*/\\1/"`; \'
echo ' for b in 1 17 33 980 8192; do \'
echo ' echo "Recoding $$f ($$pdu) into XER and back ($$b)..."; \'
echo ' ./${TARGET} -p $$pdu -b $$b -ioer -oxer $$f > ./.tmp.1.$$$$ || exit 2; \'
- echo ' ./${TARGET} -p $$pdu -b $$b -ioer -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 3; \'
- echo ' diff ./.tmp.1.$$$$ ./.tmp.2.$$$$ || exit 4; \'
+ echo ' ./${TARGET} -p $$pdu -b $$b -ixer -ooer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 3; \'
+ echo ' diff $$f ./.tmp.2.$$$$ || exit 4; \'
echo ' rm -f ./.tmp.[12].$$$$; \'
- echo ' echo "Test junking $$f (please wait)..."; \'
+ echo ' echo "Test junking $$f (please wait) ($$b) ..."; \'
echo ' ./${TARGET} -J0.0001 -n 1000 -p $$pdu -b $$b -ioer -onull $$f || exit 5; \'
echo ' ./${TARGET} -J0.001 -n 1000 -p $$pdu -b $$b -ioer -onull $$f || exit 6; \'
echo ' done; done; fi'
diff --git a/examples/sample.source.1609.2/Makefile b/examples/sample.source.1609.2/Makefile
index 43b96206..37e2481e 100644
--- a/examples/sample.source.1609.2/Makefile
+++ b/examples/sample.source.1609.2/Makefile
@@ -373,15 +373,15 @@ check-xer:
check-oer:
@if test -f sample-Certificate-1.*oer ; then \
- for f in sample-*-*.{c,}oer; do \
+ for f in sample-*-*.*oer; do \
pdu=`echo $$f | sed -E -e "s/sample-([A-Za-z-]+)-[0-9].*/\1/"`; \
for b in 1 17 33 980 8192; do \
echo "Recoding $$f ($$pdu) into XER and back ($$b)..."; \
./${TARGET} -p $$pdu -b $$b -ioer -oxer $$f > ./.tmp.1.$$$$ || exit 2; \
- ./${TARGET} -p $$pdu -b $$b -ioer -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 3; \
- diff ./.tmp.1.$$$$ ./.tmp.2.$$$$ || exit 4; \
+ ./${TARGET} -p $$pdu -b $$b -ixer -ooer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 3; \
+ diff $$f ./.tmp.2.$$$$ || exit 4; \
rm -f ./.tmp.[12].$$$$; \
- echo "Test junking $$f (please wait)..."; \
+ echo "Test junking $$f (please wait) ($$b) ..."; \
./${TARGET} -J0.0001 -n 1000 -p $$pdu -b $$b -ioer -onull $$f || exit 5; \
./${TARGET} -J0.001 -n 1000 -p $$pdu -b $$b -ioer -onull $$f || exit 6; \
done; done; fi