aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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$}}