diff options
author | Björn Gustavsson <[email protected]> | 2013-09-05 06:03:27 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-09-18 10:22:29 +0200 |
commit | 5598cb640c11078692a1b221ab4950e395e622e0 (patch) | |
tree | 691922811203dd87db3a1a934c85fe8e3c713d38 /lib/asn1/test/test_driver_load.erl | |
parent | 589a9ed126d205007e79c22053d1b156a383d99f (diff) | |
download | otp-5598cb640c11078692a1b221ab4950e395e622e0.tar.gz otp-5598cb640c11078692a1b221ab4950e395e622e0.tar.bz2 otp-5598cb640c11078692a1b221ab4950e395e622e0.zip |
asn1_SUITE: Remove useless test_driver_load/1 test case
The PER back-end no longer use a driver (or even a NIF),
and the test case would not fail if it didn't work because the
spawned processed were not linked.
Diffstat (limited to 'lib/asn1/test/test_driver_load.erl')
-rw-r--r-- | lib/asn1/test/test_driver_load.erl | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/asn1/test/test_driver_load.erl b/lib/asn1/test/test_driver_load.erl deleted file mode 100644 index e0e6602046..0000000000 --- a/lib/asn1/test/test_driver_load.erl +++ /dev/null @@ -1,45 +0,0 @@ -%% -%% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2003-2012. 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 -%% compliance with the License. You should have received a copy of the -%% Erlang Public License along with this software. If not, it can be -%% retrieved online at http://www.erlang.org/. -%% -%% Software distributed under the License is distributed on an "AS IS" -%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -%% the License for the specific language governing rights and limitations -%% under the License. -%% -%% %CopyrightEnd% -%% -%% --module(test_driver_load). - --export([test/1,encode/0]). - --include_lib("test_server/include/test_server.hrl"). - - -test(0) -> - ok; -test(N) -> - spawn(?MODULE,encode,[]), - test(N-1). - -encode() -> - ?line Msg = msg(), - ?line {ok,_}=asn1_wrapper:encode('P-Record','PersonnelRecord',Msg), - ok. - -msg() -> - {'PersonnelRecord',{'Name',"John","P","Smith"}, - "Director", - 51, - "19710917", - {'Name',"Mary","T","Smith"}, - [{'ChildInformation',{'Name',"Ralph","T","Smith"},"19571111"},{'ChildInformation',{'Name',"Susan","B","Jones"},"19590717"}]}. - |