summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-08-06 19:12:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-08-06 19:12:03 +0000
commit525d0bf0b99adfeccb5c64ea942e29b5c9a61b5a (patch)
treedc2a600a37027ad4dce9821c10a3be8df27dac85
parent78199518c43a04fecf9886fa86202677f6a1525d (diff)
downloadbcm5719-llvm-525d0bf0b99adfeccb5c64ea942e29b5c9a61b5a.tar.gz
bcm5719-llvm-525d0bf0b99adfeccb5c64ea942e29b5c9a61b5a.zip
On freebsd it is possible to open a directory. Test with another error.
llvm-svn: 244249
-rw-r--r--lld/test/elf2/basic.s6
1 files changed, 2 insertions, 4 deletions
diff --git a/lld/test/elf2/basic.s b/lld/test/elf2/basic.s
index 49e35feeddb..e90106e8d9d 100644
--- a/lld/test/elf2/basic.s
+++ b/lld/test/elf2/basic.s
@@ -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.
OpenPOWER on IntegriCloud