aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-10 17:34:12 +0100
committerBjörn Gustavsson <[email protected]>2012-12-18 14:46:02 +0100
commitd790477de9e128b1931df655a760083de0c6125c (patch)
tree7bf79cce60b545ccdbf2e8435b00e515def421f9 /lib/asn1/test/asn1_SUITE.erl
parenta5567554dd98b37c1d0ecbb52fdb4f55a93a1cf8 (diff)
downloadotp-d790477de9e128b1931df655a760083de0c6125c.tar.gz
otp-d790477de9e128b1931df655a760083de0c6125c.tar.bz2
otp-d790477de9e128b1931df655a760083de0c6125c.zip
Fix a bug in skipping of extensions
Extensions following a double bracket group were not skipped correctly. Fix this bug and add tests to ensure that extensions are skipped correctly.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index cc96951fd3..f8ef1ac19a 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -429,7 +429,8 @@ testSeqExtension(Config) -> test(Config, fun testSeqExtension/3).
testSeqExtension(Config, Rule, Opts) ->
asn1_test_lib:compile_all(["External", "SeqExtension"], Config,
[Rule|Opts]),
- testSeqExtension:main(Rule).
+ DataDir = ?config(data_dir, Config),
+ testSeqExtension:main(DataDir, [Rule|Opts]).
testSeqExternal(Config) -> test(Config, fun testSeqExternal/3).
testSeqExternal(Config, Rule, Opts) ->