Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keplerproject/luafilesystem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcarregal <carregal>2007-10-27 00:13:10 +0400
committercarregal <carregal>2007-10-27 00:13:10 +0400
commitd202dad4f13caf9cc104dc1fdcbdbdd2b607a91e (patch)
tree54f65a290127b4c4a676f4751437a90989977a14 /tests
parent6756befeff95ae056484743dc04d026c959c8fa7 (diff)
Removing the symbolic link tests since they don't work in Windows. We have to re-check them later.
Diffstat (limited to 'tests')
-rw-r--r--tests/test.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test.lua b/tests/test.lua
index b7479e4..eecabdc 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -70,10 +70,11 @@ assert (new_att.access == testdate2, "could not set access time")
assert (new_att.modification == testdate1, "could not set modification time")
-- Checking symbolic link information
-assert (os.execute ("ln -s "..tmpfile.." _a_link_for_test_"))
-assert (lfs.attributes"_a_link_for_test_".mode == "file")
-assert (lfs.symlinkattributes"_a_link_for_test_".mode == "link")
-assert (os.remove"_a_link_for_test_")
+-- We have to review these tests since they don't work in Windows and assume os.execute is available
+--assert (os.execute ("ln -s "..tmpfile.." _a_link_for_test_"))
+--assert (lfs.attributes"_a_link_for_test_".mode == "file")
+--assert (lfs.symlinkattributes"_a_link_for_test_".mode == "link")
+--assert (os.remove"_a_link_for_test_")
-- Restore access time to current value
assert (lfs.touch (tmpfile, attrib.access, attrib.modification))