<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/unit/os, branch v0.1.2</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>misc: UNIX =&gt; Unix #4022</title>
<updated>2016-01-16T23:34:31+00:00</updated>
<author>
<name>Seth Jackson</name>
<email>sethjackson@gmail.com</email>
</author>
<published>2016-01-15T22:05:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a7ade5c832dc5081afbc3f6bd21657491b27863a'/>
<id>a7ade5c832dc5081afbc3f6bd21657491b27863a</id>
<content type='text'>
Although UNIX is a registered trademark of The Open Group, it doesn't
really matter whether we refer to these systems as UNIX, Unix, or
Unix-like. So, for consistency, refer to them collectively as Unix.

Related:
http://www.greens.org/about/unix.html
http://www.unixica.com/html/unixunix.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although UNIX is a registered trademark of The Open Group, it doesn't
really matter whether we refer to these systems as UNIX, Unix, or
Unix-like. So, for consistency, refer to them collectively as Unix.

Related:
http://www.greens.org/about/unix.html
http://www.unixica.com/html/unixunix.html
</pre>
</div>
</content>
</entry>
<entry>
<title>test: sys/fcntl.h -&gt; fcntl.h</title>
<updated>2016-01-15T04:36:58+00:00</updated>
<author>
<name>Michael Reed</name>
<email>m.reed@mykolab.com</email>
</author>
<published>2016-01-14T22:19:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=729064af5fd154716a644fb89c1b165e44972454'/>
<id>729064af5fd154716a644fb89c1b165e44972454</id>
<content type='text'>
POSIX.1-2008[1] says that the latter should be used, and all of our
supported platforms would seem to support this scheme, apparently even
Windows[2].

[1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html
[2]: https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
POSIX.1-2008[1] says that the latter should be used, and all of our
supported platforms would seem to support this scheme, apparently even
Windows[2].

[1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html
[2]: https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
</pre>
</div>
</content>
</entry>
<entry>
<title>shell: Unquote &amp;shell* options before using them</title>
<updated>2016-01-11T02:24:44+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2016-01-10T19:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3b7c4093e24fd413696e3f0aba9a7a1a470a8b4f'/>
<id>3b7c4093e24fd413696e3f0aba9a7a1a470a8b4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use libuv errors instead of errno in unit tests</title>
<updated>2015-11-25T23:16:37+00:00</updated>
<author>
<name>Rui Abreu Ferreira</name>
<email>raf-ep@gmx.com</email>
</author>
<published>2015-10-27T13:15:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=28e59cb2235c9cf37571e339bd09df3e8acacaf6'/>
<id>28e59cb2235c9cf37571e339bd09df3e8acacaf6</id>
<content type='text'>
Replaced old unit tests for errno with libuv error codes UV_ENOENT
and UV_EEXIST (for os_open and os_getperms).

Added libuv include path to test/includes compiler calls - needed
to get hold of libuv headers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replaced old unit tests for errno with libuv error codes UV_ENOENT
and UV_EEXIST (for os_open and os_getperms).

Added libuv include path to test/includes compiler calls - needed
to get hold of libuv headers.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/unit: clean up according to luacheck</title>
<updated>2015-11-23T12:57:21+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2015-11-17T14:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=32ecd75a16371fcfbe0cfc25eacaf041a755ac03'/>
<id>32ecd75a16371fcfbe0cfc25eacaf041a755ac03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>os/fs: Allow os_mkdir_recurse directory name to end with ///</title>
<updated>2015-10-23T11:54:11+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2015-10-19T12:25:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fefcc01cc1da9540767a2c0b14ebb532a51dd412'/>
<id>fefcc01cc1da9540767a2c0b14ebb532a51dd412</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: os_system: spec for non-zero exit. #3419</title>
<updated>2015-10-05T02:57:21+00:00</updated>
<author>
<name>Russ Adams</name>
<email>r.adams@arca.com</email>
</author>
<published>2015-10-03T14:22:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7be75a02917b40e5791e3f98d177f833a348df35'/>
<id>7be75a02917b40e5791e3f98d177f833a348df35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>os/fs.c: remove os_file_is_readonly()</title>
<updated>2015-08-17T05:15:04+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2015-08-17T03:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8f09fa1a49ffa1fc00eabf78c54908d515d0aaa5'/>
<id>8f09fa1a49ffa1fc00eabf78c54908d515d0aaa5</id>
<content type='text'>
os_file_is_readonly() in its current form is equivalent to
!os_file_is_writable(). This does not appear to be a bug, because Vim's
use of check_file_readonly() (which we changed to os_file_is_readonly())
is equivalent to !os_file_is_writable() in every case.

os_file_is_readonly() also fails this test:

    returns false if the file is non-read, non-write

A more useful form would define behavior under these cases:

  - path is executable (but not writable)
  - path is non-existent
  - path is directory

But there is no reason for os_file_is_readonly() to exist, so remove it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
os_file_is_readonly() in its current form is equivalent to
!os_file_is_writable(). This does not appear to be a bug, because Vim's
use of check_file_readonly() (which we changed to os_file_is_readonly())
is equivalent to !os_file_is_writable() in every case.

os_file_is_readonly() also fails this test:

    returns false if the file is non-read, non-write

A more useful form would define behavior under these cases:

  - path is executable (but not writable)
  - path is non-existent
  - path is directory

But there is no reason for os_file_is_readonly() to exist, so remove it.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: more cases for os_file_is_readonly()</title>
<updated>2015-08-17T05:14:13+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2015-08-12T01:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d5cd15e67f8a4cfdc6a29d39efbce2697578783c'/>
<id>d5cd15e67f8a4cfdc6a29d39efbce2697578783c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: cover os_file_is_readable()</title>
<updated>2015-08-17T05:07:48+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2015-08-11T21:04:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ad6b3561196867d7fcf8f8fbb0730c457e7cea45'/>
<id>ad6b3561196867d7fcf8f8fbb0730c457e7cea45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
