Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qwebaby3
asn1c
Commits
46a6bd28
Commit
46a6bd28
authored
17 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
per changes
parent
4b5ddf87
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/sample.source.LDAP3/Makefile
+26
-26
26 additions, 26 deletions
examples/sample.source.LDAP3/Makefile
examples/sample.source.TAP3/Makefile
+27
-27
27 additions, 27 deletions
examples/sample.source.TAP3/Makefile
with
53 additions
and
53 deletions
examples/sample.source.LDAP3/Makefile
+
26
−
26
View file @
46a6bd28
...
@@ -210,12 +210,12 @@ check-ber:
...
@@ -210,12 +210,12 @@ check-ber:
for
b
in
1 17 33 980 8192
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
echo
"Recoding
$$
f into XER and back (
$$
b)..."
;
\
echo
"Recoding
$$
f into XER and back (
$$
b)..."
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
3
;
\
diff ./.tmp.1.
$$$$
./.tmp.2.
$$$$
||
exit
2
;
\
diff ./.tmp.1.
$$$$
./.tmp.2.
$$$$
||
exit
4
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-iber
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-iber
-onull
$$
f
||
exit
5
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-iber
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-iber
-onull
$$
f
||
exit
6
;
\
done
;
done
;
fi
done
;
done
;
fi
check-xer
:
check-xer
:
...
@@ -224,41 +224,41 @@ check-xer:
...
@@ -224,41 +224,41 @@ check-xer:
for
b
in
1 17 33 980 8192
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
echo
"Recoding
$$
f into DER and back (
$$
b)..."
;
\
echo
"Recoding
$$
f into DER and back (
$$
b)..."
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
3
;
\
diff
$$
f ./.tmp.2.
$$$$
||
exit
2
;
\
diff
$$
f ./.tmp.2.
$$$$
||
exit
4
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-ixer
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-ixer
-onull
$$
f
||
exit
5
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-ixer
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-ixer
-onull
$$
f
||
exit
6
;
\
done
;
done
;
fi
done
;
done
;
fi
check-per
:
check-per
:
@
if
test
-f
sample-LDAPMessage-1.per
;
then
\
@
if
test
-f
sample-LDAPMessage-1
-nopad
.per
;
then
\
for
f
in
sample-LDAPMessage-[1-9].per
;
do
\
for
f
in
sample-LDAPMessage-[1-9]
-nopad
.per
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
echo
"Recoding
$$
f into DER into XER and back (
$$
b)..."
;
\
echo
"Recoding
non-padded
$$
f into DER into XER and back (
$$
b)..."
;
\
./
${
TARGET
}
-b
$$
b
-iper
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-per-nopad
-iper
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
3
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oder
./.tmp.2.
$$$$
>
./.tmp.3.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oder
./.tmp.2.
$$$$
>
./.tmp.3.
$$$$
||
exit
4
;
\
diff ./.tmp.1.
$$$$
./.tmp.3.
$$$$
||
exit
2
;
\
diff ./.tmp.1.
$$$$
./.tmp.3.
$$$$
||
exit
5
;
\
rm
-f
./.tmp.[123].
$$$$
;
\
rm
-f
./.tmp.[123].
$$$$
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-iper
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-per-nopad
-iper
-onull
$$
f
||
exit
6
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-iper
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-per-nopad
-iper
-onull
$$
f
||
exit
7
;
\
done
;
done
;
fi
done
;
done
;
fi
@
if
test
-f
sample-LDAPMessage-1
-padded
.per
;
then
\
@
if
test
-f
sample-LDAPMessage-1.per
;
then
\
for
f
in
sample-
*
-[1-9]
-padded
.per
;
do
\
for
f
in
sample-
*
-[1-9].per
;
do
\
pdu
=
`
echo
$$
f |
sed
-E
-e
"s/sample-([A-Za-z-]+)-[0-9].*/
\1
/"
`
;
\
pdu
=
`
echo
$$
f |
sed
-E
-e
"s/sample-([A-Za-z-]+)-[0-9].*/
\1
/"
`
;
\
for
b
in
1 17 33 980 8192
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
echo
"Recoding
byte-padded
$$
f into DER into XER and back (
$$
b)..."
;
\
echo
"Recoding
$$
f into DER into XER and back (
$$
b)..."
;
\
./
${
TARGET
}
-b
$$
b
-per-padded
-p
$$
pdu
-iper
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-iper
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
3
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
4
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-ixer
-oper
./.tmp.2.
$$$$
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-ixer
-oper
./.tmp.2.
$$$$
>
./.tmp.1.
$$$$
||
exit
5
;
\
diff
$$
f ./.tmp.1.
$$$$
||
exit
2
;
\
diff
$$
f ./.tmp.1.
$$$$
||
exit
6
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-per-padded
-iper
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-iper
-onull
$$
f
||
exit
7
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-per-padded
-iper
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-iper
-onull
$$
f
||
exit
8
;
\
done
;
done
;
fi
done
;
done
;
fi
distclean
:
clean
distclean
:
clean
...
...
This diff is collapsed.
Click to expand it.
examples/sample.source.TAP3/Makefile
+
27
−
27
View file @
46a6bd28
...
@@ -700,7 +700,7 @@ clean:
...
@@ -700,7 +700,7 @@ clean:
regen
:
regenerate-from-asn1-source
regen
:
regenerate-from-asn1-source
regenerate-from-asn1-source
:
regenerate-from-asn1-source
:
asn1c
-pdu
=
DataInterChange ../tap3.asn1
../../asn1c/asn1c
-S
../../skeletons
-pdu
=
DataInterChange ../tap3.asn1
DataInterChange.c
:
../sample.makefile.regen ../tap3.asn1
DataInterChange.c
:
../sample.makefile.regen ../tap3.asn1
...
@@ -726,12 +726,12 @@ check-ber:
...
@@ -726,12 +726,12 @@ check-ber:
for
b
in
1 17 33 980 8192
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
echo
"Recoding
$$
f into XER and back (
$$
b)..."
;
\
echo
"Recoding
$$
f into XER and back (
$$
b)..."
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
3
;
\
diff ./.tmp.1.
$$$$
./.tmp.2.
$$$$
||
exit
2
;
\
diff ./.tmp.1.
$$$$
./.tmp.2.
$$$$
||
exit
4
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-iber
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-iber
-onull
$$
f
||
exit
5
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-iber
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-iber
-onull
$$
f
||
exit
6
;
\
done
;
done
;
fi
done
;
done
;
fi
check-xer
:
check-xer
:
...
@@ -740,41 +740,41 @@ check-xer:
...
@@ -740,41 +740,41 @@ check-xer:
for
b
in
1 17 33 980 8192
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
echo
"Recoding
$$
f into DER and back (
$$
b)..."
;
\
echo
"Recoding
$$
f into DER and back (
$$
b)..."
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
3
;
\
diff
$$
f ./.tmp.2.
$$$$
||
exit
2
;
\
diff
$$
f ./.tmp.2.
$$$$
||
exit
4
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-ixer
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-ixer
-onull
$$
f
||
exit
5
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-ixer
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-ixer
-onull
$$
f
||
exit
6
;
\
done
;
done
;
fi
done
;
done
;
fi
check-per
:
check-per
:
@
if
test
-f
sample-DataInterChange-1.per
;
then
\
@
if
test
-f
sample-DataInterChange-1
-nopad
.per
;
then
\
for
f
in
sample-DataInterChange-[1-9].per
;
do
\
for
f
in
sample-DataInterChange-[1-9]
-nopad
.per
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
echo
"Recoding
$$
f into DER into XER and back (
$$
b)..."
;
\
echo
"Recoding
non-padded
$$
f into DER into XER and back (
$$
b)..."
;
\
./
${
TARGET
}
-b
$$
b
-iper
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-per-nopad
-iper
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
3
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oder
./.tmp.2.
$$$$
>
./.tmp.3.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-ixer
-oder
./.tmp.2.
$$$$
>
./.tmp.3.
$$$$
||
exit
4
;
\
diff ./.tmp.1.
$$$$
./.tmp.3.
$$$$
||
exit
2
;
\
diff ./.tmp.1.
$$$$
./.tmp.3.
$$$$
||
exit
5
;
\
rm
-f
./.tmp.[123].
$$$$
;
\
rm
-f
./.tmp.[123].
$$$$
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-iper
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-per-nopad
-iper
-onull
$$
f
||
exit
6
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-iper
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-per-nopad
-iper
-onull
$$
f
||
exit
7
;
\
done
;
done
;
fi
done
;
done
;
fi
@
if
test
-f
sample-DataInterChange-1
-padded
.per
;
then
\
@
if
test
-f
sample-DataInterChange-1.per
;
then
\
for
f
in
sample-
*
-[1-9]
-padded
.per
;
do
\
for
f
in
sample-
*
-[1-9].per
;
do
\
pdu
=
`
echo
$$
f |
sed
-E
-e
"s/sample-([A-Za-z-]+)-[0-9].*/
\1
/"
`
;
\
pdu
=
`
echo
$$
f |
sed
-E
-e
"s/sample-([A-Za-z-]+)-[0-9].*/
\1
/"
`
;
\
for
b
in
1 17 33 980 8192
;
do
\
for
b
in
1 17 33 980 8192
;
do
\
echo
"Recoding
byte-padded
$$
f into DER into XER and back (
$$
b)..."
;
\
echo
"Recoding
$$
f into DER into XER and back (
$$
b)..."
;
\
./
${
TARGET
}
-b
$$
b
-per-padded
-p
$$
pdu
-iper
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-iper
-oder
$$
f
>
./.tmp.1.
$$$$
||
exit
3
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-iber
-oxer
./.tmp.1.
$$$$
>
./.tmp.2.
$$$$
||
exit
4
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-ixer
-oper
./.tmp.2.
$$$$
>
./.tmp.1.
$$$$
||
exit
2
;
\
./
${
TARGET
}
-b
$$
b
-p
$$
pdu
-ixer
-oper
./.tmp.2.
$$$$
>
./.tmp.1.
$$$$
||
exit
5
;
\
diff
$$
f ./.tmp.1.
$$$$
||
exit
2
;
\
diff
$$
f ./.tmp.1.
$$$$
||
exit
6
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
rm
-f
./.tmp.[12].
$$$$
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
echo
"Test junking
$$
f (please wait)..."
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-per-padded
-iper
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.0001
-n
1000
-b
$$
b
-iper
-onull
$$
f
||
exit
7
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-per-padded
-iper
-onull
$$
f
||
exit
2
;
\
./
${
TARGET
}
-J0
.001
-n
1000
-b
$$
b
-iper
-onull
$$
f
||
exit
8
;
\
done
;
done
;
fi
done
;
done
;
fi
distclean
:
clean
distclean
:
clean
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment