diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-06-03 14:50:03 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-06-03 14:50:03 +0000 |
commit | 9158d57d19c84cc117d7002b2dab466a60608df4 (patch) | |
tree | f5fda804be53316cedef6085964ea53ec854294b /llvm/test/tools/llvm-objdump | |
parent | 2b369f83c59b29489c24ce9606c21d7e0795ee9a (diff) | |
download | bcm5719-llvm-9158d57d19c84cc117d7002b2dab466a60608df4.tar.gz bcm5719-llvm-9158d57d19c84cc117d7002b2dab466a60608df4.zip |
[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
llvm-svn: 362404
Diffstat (limited to 'llvm/test/tools/llvm-objdump')
-rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test b/llvm/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test index c9f72fa752b..94ef98ab9f6 100644 --- a/llvm/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test +++ b/llvm/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test @@ -15,8 +15,3 @@ MACHO_DSYM: (__TEXT,__text) section // RUN: llvm-objdump -m -d -g -dsym %p/../Inputs/libbogus11.a %p/../../dsymutil/Inputs/basic.macho.x86_64 2>&1 | FileCheck -check-prefix BAD_INPUT %s BAD_INPUT: is not a Mach-O or Universal file type. - -// RUN: not llvm-objdump -m -d -g -dsym %p/Inputs %p/Inputs/hello-macho-thin 2>&1 | FileCheck -check-prefix DIRECTORY %s - -// Windows will emit "Is a directory", whereas others emit "is a directory" -DIRECTORY: {{[i|I]}}s a directory |