[lld] r259669 - Do not expect /dev/null (or NUL) non-mmap'able.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 09:25:11 PST 2016
Author: ruiu
Date: Wed Feb 3 11:25:11 2016
New Revision: 259669
URL: http://llvm.org/viewvc/llvm-project?rev=259669&view=rev
Log:
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.
Modified:
lld/trunk/test/ELF/driver.test
Modified: lld/trunk/test/ELF/driver.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/driver.test?rev=259669&r1=259668&r2=259669&view=diff
==============================================================================
--- lld/trunk/test/ELF/driver.test (original)
+++ lld/trunk/test/ELF/driver.test Wed Feb 3 11:25:11 2016
@@ -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:
More information about the llvm-commits
mailing list