aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-23 14:06:47 +0100
committerBjörn Gustavsson <[email protected]>2016-03-23 14:06:47 +0100
commit7805944629441961adc38250319fdac02c9390bb (patch)
treedaa34c9efc61d28e0cceb22268d4905bb6ee9a36 /lib/asn1/test/asn1_SUITE.erl
parent8cfa50ef32fb61e8f87fa051a59a2b82fde12b1f (diff)
downloadotp-7805944629441961adc38250319fdac02c9390bb.tar.gz
otp-7805944629441961adc38250319fdac02c9390bb.tar.bz2
otp-7805944629441961adc38250319fdac02c9390bb.zip
asn1_SUITE: Remove temporary files
Some test machines have quite small hard drives. Help them by remove temporary files in end_per_test_case/2.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index 77f78b2716..4d5120221d 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -202,7 +202,9 @@ init_per_testcase(Func, Config) ->
[{case_dir, CaseDir}|Config].
end_per_testcase(_Func, Config) ->
- code:del_path(proplists:get_value(case_dir, Config)).
+ CaseDir = proplists:get_value(case_dir, Config),
+ asn1_test_lib:rm_dirs([CaseDir]),
+ code:del_path(CaseDir).
%%------------------------------------------------------------------------------
%% Test runners