diff options
author | 2010-08-23 08:54:19 +0000 | |
---|---|---|
committer | 2010-08-23 08:54:19 +0000 | |
commit | ebf42ac831dce72c9257e2700374bc7931c9f0a1 (patch) | |
tree | 681febceb0ce493c5937ef0c9de3e38f36957221 /llvm/test/Other | |
parent | Add a virtual destructor to the base of another class hierarchy with virtual (diff) | |
download | llvm-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.ll | 4 |
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$}} |