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

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 23:32:30 PDT 2024


Author: Connie
Date: 2024-07-10T23:32:26-07:00
New Revision: ccceeeb577878f3e9b7301042f68e37552a3d2c1

URL: https://github.com/llvm/llvm-project/commit/ccceeeb577878f3e9b7301042f68e37552a3d2c1
DIFF: https://github.com/llvm/llvm-project/commit/ccceeeb577878f3e9b7301042f68e37552a3d2c1.diff

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

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

Added: 
    

Modified: 
    compiler-rt/test/msan/Linux/sigandorset.cpp

Removed: 
    


################################################################################
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
 


        


More information about the llvm-commits mailing list