[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:10 PDT 2024


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

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

>From 3ef685d720989851f477d7cdaef8d828267589cd Mon Sep 17 00:00:00 2001
From: Connie Zhu <connieyzhu at google.com>
Date: Wed, 10 Jul 2024 21:14:23 +0000
Subject: [PATCH] [compiler-rt][test] Fix typo in stderr redirection

This patch fixes a typo in the RUN line where stderr should be
redirected to stdout instead of the other way around.
---
 compiler-rt/test/msan/Linux/sigandorset.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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