Summary:
Bash interperets the '?' character as matching an arbitrary character.
On systems that have a file or directory with exactly one character in
their root directory, '/?' gets reinterpreted into that pathname, which
fails to match the expected Help text for llvm-rc.
This patch quotes the '/?' to avoid that edge case.
Reviewers: mnbvmar, ecbeckmann, rnk
Reviewed By: rnk
Subscribers: dyung, ruiu, llvm-commits
Differential Revision: https://reviews.llvm.org/D35852
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309133
91177308-0d34-0410-b5e6-
96231b3b80d8
; RUN: llvm-rc /h > %t1
-; RUN: llvm-rc /? > %t2
+; RUN: llvm-rc '/?' > %t2
; RUN: diff %t1 %t2
; RUN: FileCheck -input-file=%t1 %s