summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-08-23 08:54:19 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-08-23 08:54:19 +0000
commitebf42ac831dce72c9257e2700374bc7931c9f0a1 (patch)
tree681febceb0ce493c5937ef0c9de3e38f36957221 /llvm/test/Other
parentAdd a virtual destructor to the base of another class hierarchy with virtual (diff)
downloadllvm-project-ebf42ac831dce72c9257e2700374bc7931c9f0a1.tar.gz
llvm-project-ebf42ac831dce72c9257e2700374bc7931c9f0a1.tar.bz2
llvm-project-ebf42ac831dce72c9257e2700374bc7931c9f0a1.zip
Try to escape the '$'s in these so they reach the underlying 'sh' invocation.
I have no idea how lit did the right thing here, but other test runners don't. llvm-svn: 111805
Diffstat (limited to 'llvm/test/Other')
-rw-r--r--llvm/test/Other/close-stderr.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Other/close-stderr.ll b/llvm/test/Other/close-stderr.ll
index ced32a8be33e..60fab3df0d9f 100644
--- a/llvm/test/Other/close-stderr.ll
+++ b/llvm/test/Other/close-stderr.ll
@@ -1,6 +1,6 @@
; RUN: sh -c "\
-; RUN: opt --reject-this-option 2>&-; echo $?; \
-; RUN: opt -o /dev/null /dev/null 2>&-; echo $?; \
+; RUN: opt --reject-this-option 2>&-; echo \$?; \
+; RUN: opt -o /dev/null /dev/null 2>&-; echo \$?; \
; RUN: " | FileCheck %s
; CHECK: {{^1$}}
; CHECK: {{^0$}}