aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2019-03-22 09:38:48 +0100
committerJohn Högberg <[email protected]>2019-03-22 09:38:48 +0100
commit4c744d0c81273c4c53a0dd267baf46a71814196e (patch)
treef2bc8d300ac428edb69b7ef3b63ef52cdd392f56 /lib
parent86184644edc60f03be13b5dcb143a7ac425eccc9 (diff)
parent526bc873d91b134ffab0c484553d42a510bccd96 (diff)
downloadotp-4c744d0c81273c4c53a0dd267baf46a71814196e.tar.gz
otp-4c744d0c81273c4c53a0dd267baf46a71814196e.tar.bz2
otp-4c744d0c81273c4c53a0dd267baf46a71814196e.zip
Merge branch 'john/erts/unc-path-size-fix/OTP-15693'
* john/erts/unc-path-size-fix/OTP-15693: erts: Fix incorrect UNC path length calculation
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/test/file_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/kernel/test/file_SUITE.erl b/lib/kernel/test/file_SUITE.erl
index a51025cba6..711ffccb67 100644
--- a/lib/kernel/test/file_SUITE.erl
+++ b/lib/kernel/test/file_SUITE.erl
@@ -2191,6 +2191,9 @@ unc_paths(Config) when is_list(Config) ->
{ok, _} = file:read_file_info("C:\\Windows\\explorer.exe"),
{ok, _} = file:read_file_info("\\\\localhost\\c$\\Windows\\explorer.exe"),
+ {ok, Files} = file:list_dir("C:\\Windows\\"),
+ {ok, Files} = file:list_dir("\\\\localhost\\c$\\Windows\\"),
+
{ok, Cwd} = file:get_cwd(),
try