From: Nico Weber Date: Sat, 14 Jul 2018 11:33:33 +0000 (+0000) Subject: Attempt to get test/tools/llvm-lib/help.test passing on sanitizer-x86_64-linux-fast X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c52910957c415034c8eba96a8e877e9a329f666c;p=llvm 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.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337092 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-lib/help.test b/test/tools/llvm-lib/help.test index 118219a9284..ce0fb3347b6 100644 --- a/test/tools/llvm-lib/help.test +++ b/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