[lld] r244249 - On freebsd it is possible to open a directory. Test with another error.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 12:12:03 PDT 2015


Author: rafael
Date: Thu Aug  6 14:12:03 2015
New Revision: 244249

URL: http://llvm.org/viewvc/llvm-project?rev=244249&view=rev
Log:
On freebsd it is possible to open a directory. Test with another error.

Modified:
    lld/trunk/test/elf2/basic.s

Modified: lld/trunk/test/elf2/basic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/basic.s?rev=244249&r1=244248&r2=244249&view=diff
==============================================================================
--- lld/trunk/test/elf2/basic.s (original)
+++ lld/trunk/test/elf2/basic.s Thu Aug  6 14:12:03 2015
@@ -126,11 +126,9 @@ _start:
 # RUN:  FileCheck --check-prefix=NO_INPUT %s
 # NO_INPUT: no input files.
 
-# RUN: mkdir -p %t.dir
-# RUN: not lld -flavor gnu2 %t.dir -o %t2 2>&1 | \
+# RUN: not lld -flavor gnu2 %t.no.such.file -o %t2 2>&1 | \
 # RUN:  FileCheck --check-prefix=CANNOT_OPEN %s
-# The message after the : depends on the file system.
-# CANNOT_OPEN: cannot open {{.*}}.dir:
+# CANNOT_OPEN: cannot open {{.*}}.no.such.file: {{[Nn]}}o such file or directory
 
 # RUN: not lld -flavor gnu2 %t -o 2>&1 | FileCheck --check-prefix=NO_O_VAL %s
 # NO_O_VAL: missing arg value for "-o", expected 1 argument.




More information about the llvm-commits mailing list