aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-07-09 14:20:18 +0200
committerSiri Hansen <[email protected]>2013-07-09 14:20:18 +0200
commit54a5279cdcfa63b1389e8e1c2d139a54c406e62f (patch)
tree9e63fd41b21bf15313f3f13c65cac5fcb1f88e7e
parent56d2f22de3273075f95b020146bb1105decc87f5 (diff)
parent2508a426a07855eea182ecaa623222754776217b (diff)
downloadotp-54a5279cdcfa63b1389e8e1c2d139a54c406e62f.tar.gz
otp-54a5279cdcfa63b1389e8e1c2d139a54c406e62f.tar.bz2
otp-54a5279cdcfa63b1389e8e1c2d139a54c406e62f.zip
Merge branch 'siri/cuddle-with-tests' into maint
* siri/cuddle-with-tests: [sasl] Remove directory with unicode characters after successful 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 367cab1d77..3921b2d3bb 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) ->