aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/prim_file_SUITE.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-12-16 16:59:21 +0100
committerRaimo Niskanen <[email protected]>2011-12-20 14:39:57 +0100
commit5c41307acc50055f622a19121b93c3c7c676db2a (patch)
tree102eb9da10bee106c043e6c89c1c3dd8092768d1 /lib/kernel/test/prim_file_SUITE.erl
parent4a46e6223c46b86a8c84f630753d4d007e354fea (diff)
downloadotp-5c41307acc50055f622a19121b93c3c7c676db2a.tar.gz
otp-5c41307acc50055f622a19121b93c3c7c676db2a.tar.bz2
otp-5c41307acc50055f622a19121b93c3c7c676db2a.zip
file_SITE,prim_file_SUITE: Accept old OpenBSD pecularity
Diffstat (limited to 'lib/kernel/test/prim_file_SUITE.erl')
-rw-r--r--lib/kernel/test/prim_file_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kernel/test/prim_file_SUITE.erl b/lib/kernel/test/prim_file_SUITE.erl
index ceed33515c..831eadb04a 100644
--- a/lib/kernel/test/prim_file_SUITE.erl
+++ b/lib/kernel/test/prim_file_SUITE.erl
@@ -294,6 +294,7 @@ make_del_dir(Config, Handle, Suffix) ->
%% Don't worry ;-) the parent directory should never be empty, right?
?line case ?PRIM_FILE_call(del_dir, Handle, [".."]) of
{error, eexist} -> ok;
+ {error, eacces} -> ok; %OpenBSD
{error, einval} -> ok %FreeBSD
end,
?line {error, enoent} = ?PRIM_FILE_call(del_dir, Handle, [""]),