summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-02-03 17:25:11 +0000
committerRui Ueyama <ruiu@google.com>2016-02-03 17:25:11 +0000
commit169a6374dcab8a88f887fb3dcdaccdd97857c6ca (patch)
tree65011df39f6ee0e05803e8980d374cfda465d37b
parentbbff538e9dac515081a11ddf20de5bd5eeccba62 (diff)
downloadbcm5719-llvm-169a6374dcab8a88f887fb3dcdaccdd97857c6ca.tar.gz
bcm5719-llvm-169a6374dcab8a88f887fb3dcdaccdd97857c6ca.zip
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
-rw-r--r--lld/test/ELF/driver.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/ELF/driver.test b/lld/test/ELF/driver.test
index 70fe7baf2a5..957235805f1 100644
--- a/lld/test/ELF/driver.test
+++ b/lld/test/ELF/driver.test
@@ -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:
OpenPOWER on IntegriCloud