Do not expect /dev/null (or NUL) non-mmap'able.

On some Windows environment, this test did not fail, because opening NUL
with FileOutputBuffer didn't fail. Thanks to George Rimar for reporting.

llvm-svn: 259669
This commit is contained in:
Rui Ueyama 2016-02-03 17:25:11 +00:00
parent bbff538e9d
commit 169a6374dc
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@
# CHECK: Unable to find library -lnosuchlib
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck -check-prefix=CHECK2 %s
# RUN: not ld.lld %t -o /no/such/file 2>&1 | FileCheck -check-prefix=CHECK2 %s
# CHECK2: failed to open
# CHECK2: failed to open /no/such/file
.globl _start
_start: