aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-07-09 14:21:58 +0200
committerSiri Hansen <[email protected]>2013-07-09 14:21:58 +0200
commit33ecd236f3a3f10ebab892ba92fee643e08465f7 (patch)
tree905667ffc149017cbcf0002cedea5af1b0bf5a07 /lib/sasl/test
parent43159ab33e096504459235b78c734e9c4443336b (diff)
parent54a5279cdcfa63b1389e8e1c2d139a54c406e62f (diff)
downloadotp-33ecd236f3a3f10ebab892ba92fee643e08465f7.tar.gz
otp-33ecd236f3a3f10ebab892ba92fee643e08465f7.tar.bz2
otp-33ecd236f3a3f10ebab892ba92fee643e08465f7.zip
Merge branch 'maint'
Diffstat (limited to 'lib/sasl/test')
-rw-r--r--lib/sasl/test/systools_SUITE.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sasl/test/systools_SUITE.erl b/lib/sasl/test/systools_SUITE.erl
index 1cc9eb6986..f2569bb616 100644
--- a/lib/sasl/test/systools_SUITE.erl
+++ b/lib/sasl/test/systools_SUITE.erl
@@ -59,6 +59,7 @@
-export([otp_6226_outdir/1]).
-export([init_per_suite/1, end_per_suite/1,
init_per_testcase/2, end_per_testcase/2]).
+-export([delete_tree/1]).
-import(lists, [foldl/3]).
@@ -299,6 +300,11 @@ unicode_script(Config) when is_list(Config) ->
%% 3. path (directory name where unicode_app.tgz is extracted)
true = lists:member({path,[P1]},Instr),
+ %% If all is good, delete the unicode dir to avoid lingering files
+ %% on windows.
+ rpc:call(Node,code,add_pathz,[filename:dirname(code:which(?MODULE))]),
+ rpc:call(Node,?MODULE,delete_tree,[UnicodeLibDir]),
+
ok.
unicode_script(cleanup,Config) ->