aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-09 20:27:39 +0200
committerBjörn Gustavsson <[email protected]>2013-09-18 10:22:31 +0200
commita34f152f892de3122dacafa1be7488dc2d41cc8d (patch)
treef861c5c23cb6d77e63f622179c74512572b241cd
parent82d3c9b7b716e2cdde95e5c139a1f6e3cfb46a16 (diff)
downloadotp-a34f152f892de3122dacafa1be7488dc2d41cc8d.tar.gz
otp-a34f152f892de3122dacafa1be7488dc2d41cc8d.tar.bz2
otp-a34f152f892de3122dacafa1be7488dc2d41cc8d.zip
asn1_SUITE: Reinstate test of sub-constraint
A test of sub-constraints for PER/UPER was lost in commit 9ec0a0babace.
-rw-r--r--lib/asn1/test/asn1_SUITE.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index 0d4f6ddb32..bd5ad15be9 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -722,8 +722,11 @@ testConstraints(Config) -> test(Config, fun testConstraints/3).
testConstraints(Config, Rule, Opts) ->
asn1_test_lib:compile("Constraints", Config, [Rule|Opts]),
asn1_test_lib:compile("LargeConstraints", Config, [Rule|Opts]),
- testConstraints:int_constraints(Rule).
-
+ testConstraints:int_constraints(Rule),
+ case Rule of
+ ber -> ok;
+ _ -> testConstraints:refed_NNL_name(Rule)
+ end.
testSeqIndefinite(Config) ->
test(Config, fun testSeqIndefinite/3, [ber]).