[PATCH] D133187: [LoongArch][test] Replace bashism `|&` to `2>&1 |` (NFC)

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 03:15:52 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG14e8741f3278: [LoongArch][test] Replace bashism `|&` to `2>&1 |` (NFC) (authored by wangleiat, committed by SixWeining).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133187/new/

https://reviews.llvm.org/D133187

Files:
  llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s


Index: llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
===================================================================
--- llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
+++ llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
@@ -1,5 +1,6 @@
 # RUN: llvm-mc --triple=loongarch64 %s |& FileCheck --check-prefix=PRINT %s
-# RUN: not llvm-mc --filetype=obj --triple=loongarch64 %s -o /dev/null |& FileCheck %s
+# RUN: not llvm-mc --filetype=obj --triple=loongarch64 %s -o /dev/null 2>&1 \
+# RUN:			| FileCheck %s
 
 # PRINT: .reloc 0, R_INVALID, 0
 # CHECK: {{.*}}.s:[[# @LINE+1]]:11: error: unknown relocation name


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133187.457550.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220902/a9beefc1/attachment.bin>


More information about the llvm-commits mailing list