diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-08-23 08:54:19 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-08-23 08:54:19 +0000 |
commit | f90ab07c351ffd2f82c424fd310de2b8664417e4 (patch) | |
tree | 977472e27d6d8e2f47cc6dc1c69401a7658ee0c8 /test/Other | |
parent | 54f616304240fcbc41ca9b9b2af38eeb1171e8a8 (diff) | |
download | external_llvm-f90ab07c351ffd2f82c424fd310de2b8664417e4.zip external_llvm-f90ab07c351ffd2f82c424fd310de2b8664417e4.tar.gz external_llvm-f90ab07c351ffd2f82c424fd310de2b8664417e4.tar.bz2 |
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.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Other/close-stderr.ll b/test/Other/close-stderr.ll index ced32a8..60fab3d 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$}} |