diff options
author | Siri Hansen <[email protected]> | 2014-10-02 10:04:55 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-10-02 10:04:55 +0200 |
commit | 02575ed55c4e89ed21223124314517ccce12b74d (patch) | |
tree | 0a5576e92b4ad29fbc502a0a9f0ebce729066e05 /lib/stdlib/test/filelib_SUITE.erl | |
parent | b463a454323c0685146f23ce6423f459eb197bda (diff) | |
parent | 9708887c78138cfc2697e397eb4127d2ed1f61e7 (diff) | |
download | otp-02575ed55c4e89ed21223124314517ccce12b74d.tar.gz otp-02575ed55c4e89ed21223124314517ccce12b74d.tar.bz2 otp-02575ed55c4e89ed21223124314517ccce12b74d.zip |
Merge branch 'siri/filename-join-2/OTP-12158'
* siri/filename-join-2/OTP-12158:
Fix handling of single dot in filename:join/2
Diffstat (limited to 'lib/stdlib/test/filelib_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/filelib_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib/test/filelib_SUITE.erl b/lib/stdlib/test/filelib_SUITE.erl index bd313390b3..146d810189 100644 --- a/lib/stdlib/test/filelib_SUITE.erl +++ b/lib/stdlib/test/filelib_SUITE.erl @@ -77,7 +77,8 @@ wildcard_one(Config) when is_list(Config) -> L = filelib:wildcard(Wc), L = filelib:wildcard(Wc, erl_prim_loader), L = filelib:wildcard(Wc, "."), - L = filelib:wildcard(Wc, Dir) + L = filelib:wildcard(Wc, Dir), + L = filelib:wildcard(Wc, Dir++"/.") end), ?line file:set_cwd(OldCwd), ?line ok = file:del_dir(Dir), |