aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/test
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-10-02 15:46:41 +0200
committerDan Gudmundsson <[email protected]>2012-10-30 16:13:14 +0100
commit78dfecc0eff5cdba9c84c55f250fdf6e9dfd6f32 (patch)
tree1762857d9d1021fff6c9b171222eb4ab025a0233 /lib/runtime_tools/test
parenta8b2ba096dc48a29af52fd68070089d4bbb37483 (diff)
downloadotp-78dfecc0eff5cdba9c84c55f250fdf6e9dfd6f32.tar.gz
otp-78dfecc0eff5cdba9c84c55f250fdf6e9dfd6f32.tar.bz2
otp-78dfecc0eff5cdba9c84c55f250fdf6e9dfd6f32.zip
runtime_tools: Fix failing testcase
Diffstat (limited to 'lib/runtime_tools/test')
-rw-r--r--lib/runtime_tools/test/dbg_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/runtime_tools/test/dbg_SUITE.erl b/lib/runtime_tools/test/dbg_SUITE.erl
index 4071b159a1..dfae52ed1d 100644
--- a/lib/runtime_tools/test/dbg_SUITE.erl
+++ b/lib/runtime_tools/test/dbg_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2010-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
@@ -514,7 +514,7 @@ file_port_schedfix1(Config) when is_list(Config) ->
%% Cleanup
%%
?line ToBeDeleted = filelib:wildcard(FName++"*"++".wraplog"),
- ?line lists:map({file, delete}, ToBeDeleted),
+ ?line lists:map(fun file:delete/1, ToBeDeleted),
% io:format("ToBeDeleted=~p", [ToBeDeleted]),
%%
%% Present the result