aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2011-05-18 14:30:33 +0200
committerPatrik Nyblom <[email protected]>2011-05-18 14:30:33 +0200
commitf7b44ffd245c6abae9cc16021a8e09501220641b (patch)
tree1ce4fef5077370eb08a50db56a19e4ced3299038 /lib/kernel/test
parentaa600acf183923a17b6544c9ffdb8d90bda01810 (diff)
downloadotp-f7b44ffd245c6abae9cc16021a8e09501220641b.tar.gz
otp-f7b44ffd245c6abae9cc16021a8e09501220641b.tar.bz2
otp-f7b44ffd245c6abae9cc16021a8e09501220641b.zip
Fix bug in make_del_dir testcases
Diffstat (limited to 'lib/kernel/test')
-rw-r--r--lib/kernel/test/file_SUITE.erl2
-rw-r--r--lib/kernel/test/prim_file_SUITE.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/file_SUITE.erl b/lib/kernel/test/file_SUITE.erl
index 872ac68926..fdab2eb02b 100644
--- a/lib/kernel/test/file_SUITE.erl
+++ b/lib/kernel/test/file_SUITE.erl
@@ -371,7 +371,7 @@ make_del_dir(Config) when is_list(Config) ->
%% a deep directory
?line NewDir2 = filename:join(RootDir,
atom_to_list(?MODULE)
- ++"_mk-dir/foo"),
+ ++"_mk-dir-noexist/foo"),
?line {error, enoent} = ?FILE_MODULE:make_dir(NewDir2),
%% a nameless directory
?line {error, enoent} = ?FILE_MODULE:make_dir(""),
diff --git a/lib/kernel/test/prim_file_SUITE.erl b/lib/kernel/test/prim_file_SUITE.erl
index f83e6b24e6..00eda6292f 100644
--- a/lib/kernel/test/prim_file_SUITE.erl
+++ b/lib/kernel/test/prim_file_SUITE.erl
@@ -261,7 +261,7 @@ make_del_dir(Config, Handle, Suffix) ->
%% a deep directory
?line NewDir2 = filename:join(RootDir,
atom_to_list(?MODULE)
- ++"_mk-dir/foo"),
+ ++"_mk-dir-noexist/foo"),
?line {error, enoent} = ?PRIM_FILE_call(make_dir, Handle, [NewDir2]),
%% a nameless directory
?line {error, enoent} = ?PRIM_FILE_call(make_dir, Handle, [""]),