aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/file_perm_spec.lua
Commit message (Collapse)AuthorAge
* functionaltest: Create lua helper for os.tmpname()Rui Abreu Ferreira2016-08-31
| | | | | | | | | | | | | | | In Windows Lua's os.tmpname() returns relative paths starting with \s, prepend them with $TEMP to generate a valid path. In OS X os.tmpname() returns paths in '/tmp' but they should be in '/private/tmp'. We cannot use os_name() for platform detection because some tests use tempname() before nvim is spawned, instead use one of the following: 1. Set SYSTEM_NAME environment variable before calling the tests, it is set from CMAKE_SYSTEM_NAME(i.e. uname -s or 'Windows') 2. Call uname -s 3. Assume windows
* test: Fix os_name() call.Justin M. Keyes2016-08-09
|
* functests: Check logs in lua codeZyX2016-06-10
| | | | | | It is otherwise impossible to determine which test failed sanitizer/valgrind check. test/functional/helpers.lua module return was changed so that tests which do not provide after_each function to get new check will automatically fail.
* file_perm_spec: Fix the test condition on Windows.Jurica Bradaric2016-05-20
|
* vim-patch:7.4.1521Jurica Bradaric2016-05-19
| | | | | | | Problem: File permission test fails on MS-Windows. Solution: Expect a different permission. https://github.com/vim/vim/commit/8322e1f06e8fa39a6bb790a7d8d7db5d7aff3366
* vim-patch:7.4.1516Jurica Bradaric2016-05-19
Problem: Cannot change file permissions. Solution: Add setfperm(). https://github.com/vim/vim/commit/8049253b96838b3584600e5ad229abad37a95b10