aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* It does work on Windows now!Hisham Muhammad2020-04-221-1/+0
|
* tests: behavior test for hard linksHisham Muhammad2020-04-211-1/+34
| | | | | Also check nlink on Unix only and test if something is a symlink
* Merge branch '1.7'Peter Melnichenko2017-09-141-1/+4
|\
| * Merge branch 'master' into 1.7Peter Melnichenko2016-06-211-0/+3
| |\
| * | Test what lfs.attributes returns on errorPeter Melnichenko2016-05-051-1/+4
| | |
* | | Fix lfs.attributes and lfs.symlinkattributes extra argument handlingPeter Melnichenko2016-08-251-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the second argument is not a string, _file_info() wants to ensure that there is a table on top of the stack: the second argument or a new table. If a new table is pushed it's created on top immediately, but if a table is passed as the second argument it can be followed by extra arguments, with the last one ending up being used as a table, causing a crash. The fix is to remove any potential extra arguments using `lua_settop(L, 2)`. Also added a few tests for this case. Ref #80.
* | | Add a 'target' field for symlinkattributes.NiteHawk2016-07-161-0/+2
| |/ |/| | | | | | | | | | | It returns the resolved path of the symlink. Original version by Hisham <hisham@gobolinux.org>, modified to use a different strategy for sizing the readlink() buffer.
* | Add a test for #52.Peter Melnichenko2016-06-091-0/+3
|/
* Fix lfs.attributes(file, 'blksize')Stefan Hoffmann2014-08-091-0/+7
| | | | | | | fs.attributes(file, 'blksize') and fs.attributes(file, 'blocks) return the wrong values. Compare the whole attribute name instead of the first char and remove buggy special casing with wrong indexes into the member array.
* luafilesystem 1.6.0Fabio Mascarenhas2012-10-011-21/+60
|
* applied debian patches from enrico tassiFabio Mascarenhas2012-04-081-1/+1
|
* Add lfs.link.Reuben Thomas2011-06-091-2/+5
|
* Use package.config to get directory separator.Reuben Thomas2011-06-091-1/+1
|
* Add trivial implementation of setmode on non-Windows platforms.Reuben Thomas2011-06-091-9/+7
|
* Make test.lua find its interpreter using /usr/bin/env.Reuben Thomas2011-06-091-1/+1
|
* Add trivial link_info support on Windows (using STAT_FUNC).Reuben Thomas2011-06-091-7/+5
|
* added explicit next and close methods to second return value of lfs.dir (the ↵mascarenhas2009-06-031-0/+17
| | | | directory object), for explicit iteration or explicit closing
* large file support in lfs.attributes (bug #2185)mascarenhas2008-03-251-3/+4
|
* Fixed bug in the Windows tests (patch by Shmuel Zeigerman)carregal2008-03-101-4/+4
|
* Adding tests for lfs.setmodecarregal2008-02-131-0/+10
|
* Fixing a wrong test (tks to Enrico Tassi)carregal2007-10-271-1/+1
|
* Checking for lfs.symlinkattributes so the tests are not applied in Windowscarregal2007-10-261-6/+7
|
* Removing the symbolic link tests since they don't work in Windows. We have ↵carregal2007-10-261-4/+5
| | | | to re-check them later.
* Adding function symlinkatributes. Updating version to 1.3.0tomas2007-06-071-0/+6
|
* Corrected the second of 2 bugs on the test script found by Shmuel Zeigerman ↵carregal2007-05-181-4/+16
| | | | involving the access and update time on lfs.touch()
* Corrected 1 of 2 bugs on the test script found by Shmuel Zeigerman: the use ↵carregal2007-05-171-8/+9
| | | | | | of /tmp as a necessary directory. Corrected a bug on the test script on slow fliesystems due to the reliance on close times
* Adding version informationtomas2006-06-081-1/+2
|
* Standardizing execution errors to nil followed by an error messagetomas2006-03-141-1/+1
|
* access time 11, 22 and 33 do not work on windowstuler2005-08-181-6/+6
|
* touch does not work with directories in windows.uid200062005-08-161-11/+22
|
* using lfs.rmdir instead of os.remove.uid200062005-08-161-1/+1
|
* Closing directory after a complete traversal.uid200132005-08-161-27/+30
| | | | Adding tests for that.
* new function lfs.rmdirtuler2005-06-031-13/+17
|
* Acrescimo da funcao lfs.touch (lfs.c e test.lua).tomas2005-01-181-3/+25
| | | | Pequenas correcoes para evitar warnings de redefinicao de macros.
* Correcoes em valores de retorno de funcoes.tomas2004-11-051-2/+2
|
* Pequenas correcoes nos valores de retorno de algumas funcoes.tomas2004-11-011-0/+40
Acrescimo do arquivo de testes.