aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/file_name_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-20 07:11:47 +0100
committerBjörn Gustavsson <[email protected]>2016-03-23 13:28:10 +0100
commitfd1a7ce200ff6e0e24bba513a8079efc0d6aadd3 (patch)
tree8f07e27037dc7284e6263748e961bd75239b2cf3 /lib/kernel/test/file_name_SUITE.erl
parent7ce333f6884ce6f3841d19f9b15a3b09fc3b4dab (diff)
downloadotp-fd1a7ce200ff6e0e24bba513a8079efc0d6aadd3.tar.gz
otp-fd1a7ce200ff6e0e24bba513a8079efc0d6aadd3.tar.bz2
otp-fd1a7ce200ff6e0e24bba513a8079efc0d6aadd3.zip
file_name_SUITE: Remove useless put/2 to process dictionary
There is never any corresponding get/1.
Diffstat (limited to 'lib/kernel/test/file_name_SUITE.erl')
-rw-r--r--lib/kernel/test/file_name_SUITE.erl6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/kernel/test/file_name_SUITE.erl b/lib/kernel/test/file_name_SUITE.erl
index 8923144215..9250a520e9 100644
--- a/lib/kernel/test/file_name_SUITE.erl
+++ b/lib/kernel/test/file_name_SUITE.erl
@@ -190,9 +190,7 @@ normal(Config) when is_list(Config) ->
try
Priv = proplists:get_value(priv_dir, Config),
file:set_cwd(Priv),
- put(file_module,prim_file),
ok = check_normal(prim_file),
- put(file_module,file),
ok = check_normal(file),
%% If all is good, delete dir again (avoid hanging dir on windows)
rm_rf(file,"normal_dir"),
@@ -212,9 +210,7 @@ icky(Config) when is_list(Config) ->
try
Priv = proplists:get_value(priv_dir, Config),
file:set_cwd(Priv),
- put(file_module,prim_file),
ok = check_icky(prim_file),
- put(file_module,file),
ok = check_icky(file),
%% If all is good, delete dir again (avoid hanging dir on windows)
rm_rf(file,"icky_dir"),
@@ -233,12 +229,10 @@ very_icky(Config) when is_list(Config) ->
try
Priv = proplists:get_value(priv_dir, Config),
file:set_cwd(Priv),
- put(file_module,prim_file),
case check_very_icky(prim_file) of
need_unicode_mode ->
{skipped,"VM needs to be started in Unicode filename mode"};
ok ->
- put(file_module,file),
ok = check_very_icky(file),
%% If all is good, delete dir again
%% (avoid hanging dir on windows)