projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54f6163
)
Try to escape the '$'s in these so they reach the underlying 'sh' invocation.
author
Chandler Carruth
<chandlerc@gmail.com>
Mon, 23 Aug 2010 08:54:19 +0000
(08:54 +0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Mon, 23 Aug 2010 08:54:19 +0000
(08:54 +0000)
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
test/Other/close-stderr.ll
patch
|
blob
|
history
diff --git
a/test/Other/close-stderr.ll
b/test/Other/close-stderr.ll
index ced32a8be33e621e12ab6c5e2b39c758151d22ce..60fab3df0d9f904fb85314248cb4811ba38a0ff2 100644
(file)
--- 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$}}