diff options
author | John Högberg <[email protected]> | 2019-03-22 09:38:48 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-03-22 09:38:48 +0100 |
commit | 4c744d0c81273c4c53a0dd267baf46a71814196e (patch) | |
tree | f2bc8d300ac428edb69b7ef3b63ef52cdd392f56 /lib/kernel | |
parent | 86184644edc60f03be13b5dcb143a7ac425eccc9 (diff) | |
parent | 526bc873d91b134ffab0c484553d42a510bccd96 (diff) | |
download | otp-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/kernel')
-rw-r--r-- | lib/kernel/test/file_SUITE.erl | 3 |
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 |