The built-in shell test runner for some reason doesn't like the quoting
[oota-llvm.git] / test / Other / close-stderr.ll
index 40a01cc3143e38f537eec349ab47116eb6af52ea..1d207c75c62b0fc5c4d4cc1d9e3a618d02663768 100644 (file)
@@ -1,7 +1,5 @@
-; RUN: sh -c "\
-; RUN:        opt --reject-this-option 2>&-; echo \$?; \
-; RUN:        opt -o /dev/null /dev/null 2>&-; echo \$?; \
-; RUN:       " | FileCheck %s
+; RUN: sh -c 'opt --reject-this-option 2>&-; echo $?; opt -o /dev/null /dev/null 2>&-; echo $?;' \
+; RUN:   | FileCheck %s
 ; CHECK: {{^1$}}
 ; CHECK: {{^0$}}
 ; XFAIL: vg_leak