diff options
author | Siri Hansen <[email protected]> | 2014-07-07 15:45:36 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-07-09 14:58:24 +0200 |
commit | 9dc807376b0dff43a19af5ef4301333f16cc11c1 (patch) | |
tree | 7bf8e72b7a7b15ea81a4bae26542fed902f5d0e4 /erts/test/upgrade_SUITE.erl | |
parent | de2fb97f15ac98aa1d1c5533aacca378334f4778 (diff) | |
download | otp-9dc807376b0dff43a19af5ef4301333f16cc11c1.tar.gz otp-9dc807376b0dff43a19af5ef4301333f16cc11c1.tar.bz2 otp-9dc807376b0dff43a19af5ef4301333f16cc11c1.zip |
Add tests of filelib and symlinks
This commit complements 769996c0cd4cb68c157e39de725642f209ed7423 and
adds tests for the following problems introduced by
f11aabdc9fec593c31e6c4f3fa25c1707e9c35df:
Given the symlink 'dirlink' pointing to an existing dir, then
- filelib:is_regular("dirlink") -> false
- filelib:is_dir("dirlink") -> false
Given the symlink 'filelink' pointing to an existing file, then
- filelib:is_regular("filelink") -> false
- filelib:is_file("filelink") -> false
- filelib:last_modified("filelink") and filelib:filesize("filelink")
return the info of the link and not the file
Given the symlink "broken_symlink" pointing to a non-existing file, then
- filelib:wildcard("broken_symlink",File) -> []
Diffstat (limited to 'erts/test/upgrade_SUITE.erl')
0 files changed, 0 insertions, 0 deletions