]> granicus.if.org Git - llvm/commit
[llvm] [test] Remove non-portable EISDIR test from macho-disassemble-g-dsym.test
authorMichal Gorny <mgorny@gentoo.org>
Mon, 3 Jun 2019 14:50:03 +0000 (14:50 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Mon, 3 Jun 2019 14:50:03 +0000 (14:50 +0000)
commit1693ea9e85fda977acbb99f1c7bdb795a7fee35f
tree20111f06d49e9ad649ffebf610b281fba51d025d
parent428efd529a2e8104b3fb12f019c92e11637257e7
[llvm] [test] Remove non-portable EISDIR test from macho-disassemble-g-dsym.test

Remove the test checking error message for 'is a directory'.  It does
not seem to serve any real purpose, and it relies on matching platform
error strings which are unpredictable and makes the test fragile.
Furthermore, it fails on NetBSD where read() works on directories,
and therefore does not return EISDIR at all.

Fixes r362141.

Differential Revision: https://reviews.llvm.org/D62773

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362404 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test