Skip to content

Commit 43c2b13

Browse files
committedJul 26, 2017
Quote '?' in llvm-rc test
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 llvm-svn: 309133
1 parent 239e4b9 commit 43c2b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎llvm/test/tools/llvm-rc/helpmsg.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: llvm-rc /h > %t1
2-
; RUN: llvm-rc /? > %t2
2+
; RUN: llvm-rc '/?' > %t2
33
; RUN: diff %t1 %t2
44
; RUN: FileCheck -input-file=%t1 %s
55

0 commit comments

Comments
 (0)