Skip to content

Commit 4d9b1a2

Browse files
committed
Workaround fix for Travis-CI
Skip cdev test which fails on Travis-CI.
1 parent 1a8a544 commit 4d9b1a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/testdir/test_stat.vim

+2
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,11 @@ func Test_getftype()
140140
call delete('Xfifo')
141141
endif
142142

143+
if !has("gui_macvim")
143144
for cdevfile in systemlist('find /dev -type c -maxdepth 2 2>/dev/null')
144145
call assert_equal('cdev', getftype(cdevfile))
145146
endfor
147+
endif
146148

147149
for bdevfile in systemlist('find /dev -type b -maxdepth 2 2>/dev/null')
148150
call assert_equal('bdev', getftype(bdevfile))

0 commit comments

Comments
 (0)