aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/ber_decode_error.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-07-05 11:21:50 +0200
committerLukas Larsson <[email protected]>2011-08-01 16:38:00 +0200
commitfd79e047602c87ebaa9b86c0d2937b399555a836 (patch)
tree9575adb222fc26fab983ea90e063f872a122ff07 /lib/asn1/test/ber_decode_error.erl
parent3788f9e739b8468e35a772c501f990f7d8309adb (diff)
downloadotp-fd79e047602c87ebaa9b86c0d2937b399555a836.tar.gz
otp-fd79e047602c87ebaa9b86c0d2937b399555a836.tar.bz2
otp-fd79e047602c87ebaa9b86c0d2937b399555a836.zip
Add support for nif option to optimized ber_bin_v2 asn1 compilation
Diffstat (limited to 'lib/asn1/test/ber_decode_error.erl')
-rw-r--r--lib/asn1/test/ber_decode_error.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/asn1/test/ber_decode_error.erl b/lib/asn1/test/ber_decode_error.erl
index 96d6545636..a566e0b07f 100644
--- a/lib/asn1/test/ber_decode_error.erl
+++ b/lib/asn1/test/ber_decode_error.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1999-2010. All Rights Reserved.
+%% Copyright Ericsson AB 1999-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -45,6 +45,10 @@ run([]) ->
run([driver]) ->
%% test of OTP-4797, bad indata to driver does not cause an EXIT
?line {error,_Reason} = asn1rt:decode('Constructed','S3',[3,5]),
+ ok;
+run([nif]) ->
+ %% test of OTP-4797, bad indata to driver does not cause an EXIT
+ ?line {error,_Reason} = asn1rt:decode('Constructed','S3',[3,5]),
ok.