[compiler-rt] [compiler-rt][test] Fix typo in stderr redirection (PR #98397)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 14:49:58 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Connie (connieyzhu)

<details>
<summary>Changes</summary>

This patch fixes a typo in the RUN line where stderr should be redirected to stdout instead of the other way around.

---
Full diff: https://github.com/llvm/llvm-project/pull/98397.diff


1 Files Affected:

- (modified) compiler-rt/test/msan/Linux/sigandorset.cpp (+1-1) 


``````````diff
diff --git a/compiler-rt/test/msan/Linux/sigandorset.cpp b/compiler-rt/test/msan/Linux/sigandorset.cpp
index da983020a4c68..4d5fcec4ef5cc 100644
--- a/compiler-rt/test/msan/Linux/sigandorset.cpp
+++ b/compiler-rt/test/msan/Linux/sigandorset.cpp
@@ -1,6 +1,6 @@
 // RUN: %clangxx_msan -std=c++11 -O0 -g %s -o %t && not %run %t 2>&1 | FileCheck %s
 // RUN: %clangxx_msan -DLEFT_OK -std=c++11 -O0 -g %s -o %t && not %run %t 2>&1 | FileCheck %s
-// RUN: %clangxx_msan -DRIGHT_OK -std=c++11 -O0 -g %s -o %t && not %run %t 2<&1 | FileCheck %s
+// RUN: %clangxx_msan -DRIGHT_OK -std=c++11 -O0 -g %s -o %t && not %run %t 2>&1 | FileCheck %s
 // RUN: %clangxx_msan -DLEFT_OK -DRIGHT_OK -std=c++11 -O0 -g %s -o %t && %run %t
 // REQUIRES: !android
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/98397


More information about the llvm-commits mailing list