aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-10-06 14:43:59 +0200
committerJohn Högberg <[email protected]>2017-11-30 15:44:34 +0100
commit30aac6489f5f0623ed9107c024e4cabc32460e2b (patch)
tree5ac9c9b5d402e17b7b3ea2cc57ad507d9dcdb63a /lib/kernel
parente509cd7a5bcee7e6e4bd9a9f408a2e2fef897c31 (diff)
downloadotp-30aac6489f5f0623ed9107c024e4cabc32460e2b.tar.gz
otp-30aac6489f5f0623ed9107c024e4cabc32460e2b.tar.bz2
otp-30aac6489f5f0623ed9107c024e4cabc32460e2b.zip
Ensure that root paths are translated to our preferred form
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/test/file_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/file_SUITE.erl b/lib/kernel/test/file_SUITE.erl
index 9ee53b90d8..af7bc2a5f7 100644
--- a/lib/kernel/test/file_SUITE.erl
+++ b/lib/kernel/test/file_SUITE.erl
@@ -2666,8 +2666,8 @@ altname(Config) when is_list(Config) ->
{skipped, "Altname not supported on this platform"};
{ok, "LONGAL~1"} ->
{ok, "A_FILE~1"} = ?FILE_MODULE:altname(Name),
- {ok, "C:/"} = ?FILE_MODULE:altname("C:/"),
- {ok, "C:\\"} = ?FILE_MODULE:altname("C:\\"),
+ {ok, "c:/"} = ?FILE_MODULE:altname("C:/"),
+ {ok, "c:/"} = ?FILE_MODULE:altname("C:\\"),
{error,enoent} = ?FILE_MODULE:altname(NonexName),
{ok, "short"} = ?FILE_MODULE:altname(ShortName),
ok