summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-07-26 16:25:48 +0000
committerReid Kleckner <rnk@google.com>2017-07-26 16:25:48 +0000
commit43c2b131d9a1643a8db6393d6258c8c3ec096142 (patch)
treed97f77b2268a781c796992eb2d151c377127f1b6
parent239e4b9301e11942ee19da229ca9fd7aa83a4125 (diff)
downloadbcm5719-llvm-43c2b131d9a1643a8db6393d6258c8c3ec096142.tar.gz
bcm5719-llvm-43c2b131d9a1643a8db6393d6258c8c3ec096142.zip
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
-rw-r--r--llvm/test/tools/llvm-rc/helpmsg.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-rc/helpmsg.test b/llvm/test/tools/llvm-rc/helpmsg.test
index f0d4015e91c..045568978f6 100644
--- a/llvm/test/tools/llvm-rc/helpmsg.test
+++ b/llvm/test/tools/llvm-rc/helpmsg.test
@@ -1,5 +1,5 @@
; RUN: llvm-rc /h > %t1
-; RUN: llvm-rc /? > %t2
+; RUN: llvm-rc '/?' > %t2
; RUN: diff %t1 %t2
; RUN: FileCheck -input-file=%t1 %s
OpenPOWER on IntegriCloud