diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua index 2842bc0..2331eec 100644 --- a/tests/test.lua +++ b/tests/test.lua | |||
@@ -91,6 +91,8 @@ io.flush() | |||
91 | if lfs.link (tmpfile, "_a_link_for_test_", true) then | 91 | if lfs.link (tmpfile, "_a_link_for_test_", true) then |
92 | assert (lfs.attributes"_a_link_for_test_".mode == "file") | 92 | assert (lfs.attributes"_a_link_for_test_".mode == "file") |
93 | assert (lfs.symlinkattributes"_a_link_for_test_".mode == "link") | 93 | assert (lfs.symlinkattributes"_a_link_for_test_".mode == "link") |
94 | assert (lfs.symlinkattributes"_a_link_for_test_".target == tmpfile) | ||
95 | assert (lfs.symlinkattributes("_a_link_for_test_", "target") == tmpfile) | ||
94 | assert (lfs.link (tmpfile, "_a_hard_link_for_test_")) | 96 | assert (lfs.link (tmpfile, "_a_hard_link_for_test_")) |
95 | assert (lfs.attributes (tmpfile, "nlink") == 2) | 97 | assert (lfs.attributes (tmpfile, "nlink") == 2) |
96 | assert (os.remove"_a_link_for_test_") | 98 | assert (os.remove"_a_link_for_test_") |