summaryrefslogtreecommitdiff
path: root/test/Other
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
commitf90ab07c351ffd2f82c424fd310de2b8664417e4 (patch)
tree977472e27d6d8e2f47cc6dc1c69401a7658ee0c8 /test/Other
parent54f616304240fcbc41ca9b9b2af38eeb1171e8a8 (diff)
downloadllvm-f90ab07c351ffd2f82c424fd310de2b8664417e4.tar.gz
llvm-f90ab07c351ffd2f82c424fd310de2b8664417e4.tar.bz2
llvm-f90ab07c351ffd2f82c424fd310de2b8664417e4.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/close-stderr.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Other/close-stderr.ll b/test/Other/close-stderr.ll
index ced32a8be3..60fab3df0d 100644
--- a/test/Other/close-stderr.ll
+++ b/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$}}