summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-lib
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-07-14 11:33:33 +0000
committerNico Weber <nicolasweber@gmx.de>2018-07-14 11:33:33 +0000
commit337e241d5833fb3760f3589798bbe254eaba0810 (patch)
tree795ca9faddb4bdfd0bb7aa0da1737632dae42ff2 /llvm/test/tools/llvm-lib
parenta60dadde15ae31093a6c4758d241c4378349d8d8 (diff)
downloadbcm5719-llvm-337e241d5833fb3760f3589798bbe254eaba0810.tar.gz
bcm5719-llvm-337e241d5833fb3760f3589798bbe254eaba0810.zip
Attempt to get test/tools/llvm-lib/help.test passing on sanitizer-x86_64-linux-fast
The bot has a /b directory, so /? matches against that and gets expanded to it. (Thanks to Hans's r187366, which solved the same problem for clang-cl a while ago and which saved me much head scratching.) llvm-svn: 337092
Diffstat (limited to 'llvm/test/tools/llvm-lib')
-rw-r--r--llvm/test/tools/llvm-lib/help.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-lib/help.test b/llvm/test/tools/llvm-lib/help.test
index 118219a9284..ce0fb3347b6 100644
--- a/llvm/test/tools/llvm-lib/help.test
+++ b/llvm/test/tools/llvm-lib/help.test
@@ -1,3 +1,6 @@
-# RUN: llvm-lib /? | FileCheck %s
+# Note: we have to quote the /? option, otherwise some shells will try to
+# expand the ? into a one-letter filename in the root directory, and make
+# the test fail is such a file or directory exists.
+# RUN: llvm-lib "/?" | FileCheck %s
CHECK: OVERVIEW: LLVM Lib
OpenPOWER on IntegriCloud