aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPavel Platto <hinidu@gmail.com>2014-07-16 20:35:12 +0300
committerPavel Platto <hinidu@gmail.com>2014-08-13 09:36:09 +0300
commit1a361b629a99075c2bec18411469a70bc3957c41 (patch)
treea00097af7d7b877ca34c070d192fedb409e6318d /test
parent64ea24bc17abc3d08025f21dfc4482a577957266 (diff)
downloadrneovim-1a361b629a99075c2bec18411469a70bc3957c41.tar.gz
rneovim-1a361b629a99075c2bec18411469a70bc3957c41.tar.bz2
rneovim-1a361b629a99075c2bec18411469a70bc3957c41.zip
os_fchown: enable 'change group' unittest on Travis-CI
Add section `before_install` in `.travis.yml` to create test group and add current user to this group. It is needed because by default user on Travis-CI belongs only to one primary group derived from that user. So we have no alternative to change group of the file.
Diffstat (limited to 'test')
-rw-r--r--test/unit/os/fs_spec.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/os/fs_spec.moon b/test/unit/os/fs_spec.moon
index e63674e2eb..dd787e76cd 100644
--- a/test/unit/os/fs_spec.moon
+++ b/test/unit/os/fs_spec.moon
@@ -188,7 +188,7 @@ describe 'fs function', ->
new_gid = id_fd\read '*n'
id_fd\close!
- -- User can be a member of only one group (e.g., it is on Travis-CI).
+ -- User can be a member of only one group.
-- In that case we can not perform this test.
if new_gid
eq 0, (os_fchown filename, -1, new_gid)